-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linking fails on Windows when trying to install via nimble #33
Comments
Hello, thanks for testing gintro module. From message
I assume that it is an Microsoft related issue. So it is not easy to debug for me, as I am using Linux only. Do you really intend to use gintro seriously, or did you try to install just for fun? In the former case I would have to do further investigations, and I am willing to do that. But in the other case, which I assume is much more likely, we should just ignore the issue for now. As you know GTK is not very popular, especially for Windows users, so you may try one of the other Nim GUI libs. Maybe one additional remark: I just remembered a report of another Windows User one year ago, see He wrote:
That seems to solve it for him, but of course I do not know if you are using pacman for your Windows. I thing he got an additional issue with GTKSourceView, an optional package, which generally just can be ignored, but I am not sure if my install script ignores it gracefully currently. |
msys2 libgirepository dll is called: |
Great info, thanks. Is that new name valid for latest Windows 10 only, or for older releases too. I will try to fix that name soon, thanks. |
Hi. At the moment, I'm not doing anything serious/professional with Nim at the moment. Qt really is my preferred cross platform GUI toolkit, but making it work with Nim is kind of round-about at the moment. So I think that Gtk is the next best thing. I good cross-platform GUI I think it something that Nim really is lacking (I know about nimx and NiGui, but I don't think that they're quite there yet). I'd be willing to help out with testing things on Windows in the meantime for you though. |
Yes that would be nice. Maybe for a first step you can search on your computer for libgirepository dll to investigate if it is totally missing or if as alaviss wrote only name was wrong. Generally, GTK is ok for people already familiar with it and with mainly Linux as target audience. Windows users generally do not like GTK, some are even unable to install it. And learning GTK now from the beginning is hard, as there is only API documentation, but no good books, only minimal tutorial and nearly no community. |
The name of the DLL on my machine is as @alaviss reports it is. Can you update that code and I'll installing gintro again? |
Should be fixed. Fix is in package oldgtk3 which is used for installation of gintro package.
A fresh install of gintro should now use the correct dll name. Unfortunately I just discovered that gintro does not work with latest Nim devel compiler, see
|
Tested with Nim v0.19.2, works like a charm right now. During installation of
It didn't seem to negatively effect anything I tried to run. When compiling the examples, I'd get some deprecation warnings:
I'll leave it for you to close this issue. |
Thanks for reporting. Yesterday Araq told me that I have to make a few global variables which are used in gintro macros compileTime to fix the issue with latest devel compiler, then it should work again. The "getImpl is deprecated" is interesting, have not seen it before, will try to fix that also. The messages after "Remaining delayed methods: 0" seems to indicate that you have not installed GtkSourceView and Vte Packages/DLL on your box. That is OK, you may indeed not need them, and they are skipped gracefully. (I have to check the messages, there seems to be typos :-( ) If you have some basic knowledge of Windows, you may investigate if and how you can install these two missing packages, so I can add that info to the doc page for other windows users. |
Hi, I got this error, same error with this issue. ` and I checked gir.nim and it have libgirepository-1.0-1.dll is this same issue? |
sorry, managed to solved it with this |
I installed nim 0.9.12 from source in an MSYS2 environment, and I have the necessary packages that the README told me to install. But I'm getting this error when I try to run
nimble install gintro
.The text was updated successfully, but these errors were encountered: