-
Notifications
You must be signed in to change notification settings - Fork 112
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
How to install on Windows env? #39
Comments
Hi - this runs just fine on Windows, as I was able to make larger lib depending on this work:) But I built GMP myself and version 6.1.2 Maybe it's an issue of an older version of GMP? |
Thank you for comment.
config with |
.a files are static library in Unix format. It's basically the same as .lib file, though you need to convert it to Windows format. Actually - I don't quite can tell you how to convert(or even if it's possible at all), but I can tell you that you don't wanna follow that way for sure 👎 In short, you will need to I tried option with I have my copy of gmp.dll and gmp.lib that just passed all curv tests (on x64 Windows 10).
Let me know if you can't make your copy and I will create the repo with binary distro of GMP I compiled (under LGPL) Unfortunately, I can't recreate all steps I performed that nasty day 😄 - there was some black magik before it all worked. But I can tell you to save yourself some mental health by running it all on Ubuntu. Anyway you won't compile GMP for 64 bit as it's almost impossible on MSYS - and even if - it will be so unstable you would cry. And 32 bit GMP has huge performance handicap comparing to 64. But if you still wanna Windows - just don't give up too early on making your own GMP - since with my version curv may compile just fine on your machine but crash immediately uppon launch, for reasons beyound this realm 💀 |
Thank you for help! I tried
Next, implibtool
Note |
I changed to Note |
Hmm - pls note that you are still using default target Try with the first way again, but pls do |
Looked at your log at pastebin - seems like I was correct and you have there localized version of
Seems indeed like all you have to do is use library from way with dumpbin and with correct target BTW - I suggest you to switch your system default language to english;) |
Thank you! your binary work fine!
Summary
Note |
btw - just placing gmp.dll and gmp.lib into target lib folder like from 6.) should be just fine too - then no need to copy dll manually back and forth, and pls close the issue if u r fine now:) |
Thank you for support! I solved the problem and go next step. |
Link error,
I find rack of gmp.lib, download from gmp-static-vc-4.1.2.zip and move to
C:\Users\home\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib
how to solve it?
The text was updated successfully, but these errors were encountered: