-
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
"nimble install gobject" failed on windows #38
Comments
Thanks for reporting.
That is strange, I have to investigate that. Note that GTK for Nim is not really recommended for unexperienced people and Windows users. GTK community is not very active generally, Windows users do not love GTK that much, and learning GTK today for beginners is not that easy, no book, only minimal C tutorials, no community. For your current problem: For the initial downloading wget or nimgrab is used. I guess that for your windows wget is not available, so nimgrab is used. That one should deliver plain text files, no GZIP. I have to investigate. |
No, my initial guess was wrong:
It seems that you have a windows version of wget which is not working correctly, it thinks it gets plain text, but indeed requested gzip compression. What you may do: hide your gzip is some way, so that nimgrab is used. Or find a way to tell your wget to get the files uncompressed. You can test it from shell window by commands as used in gintro.nimble like
|
I updated wget, now the nim files are actually TEXT files.
|
You may have to restart your terminal to new Path become active? At least you have to ensure that libgirepository-1.0-1.dll could be loaded, and it is not. |
Araq just note that you have to ensure that your DLL matches your OS, 32 vs 64 bit issue, see |
my nim and gcc are 64bits, the produced I don't know which real Windows tools can be used except for the so said ok, forget it, I give up to use GTK btw, it seems that there is no many nim users on Windows |
I think that is a good idea for you.
No, I think there are more Windows users than Linux users, Araq itself uses Windows. But not many Nim people are doing GUI stuff at all. |
I just noted that your Path definition is different as given here: http:https://www.mingw.org/wiki/HOWTO_Specify_the_Location_of_Libraries_for_use_with_MinGW $ export LIBRARY_PATH |
MSYS2 + MINGW64 on windows 7 64bits
then I found that gir.nim, glib.nim and gobject.nim actually GZIP files. If I decompress them I can do
nim c gen.nim
and getgen.exe
but what is the next step?
The text was updated successfully, but these errors were encountered: