python3-pycrypto-windows-installer
python3-pycrypto-windows-installer copied to clipboard
How to
Hi. While trying to compile Pycrypto myself, and encountering the infamous "GMP or MPIR library not found" error, I found this StackExchange question that linked to your binaries.
It worked for me, thanks.
But... How? How did you manage to compile these on Windows? Or did you somehow compile them on Linux, but for Windows somehow?
This is what I used: https://docs.python.org/3.4/distutils/builtdist.html It requires Visaul Studio 2008 (or 2010?) IIRC.
I know that's the command, but it fails when dependencies are not satisfied...
I mean, having just Python 3.4 gives an error about VC++ 10.0 missing, which is really Visual Studio 2010. Installing Visual Studio 2010 (Express), I instead get the "GMP or MPIR library not found" error. So... How did you solved THAT part? I'm guessing you somehow made Visual Studio "find" GMP or MPIR, but which one of the two really? How did you make VS find it, and compile it in a compatible way?
Uh.. this was really long time ago, I don't remember what I did exactly. If I find some time tomorrow I will load up my windows vm and try to re-resolve this issue.