Skip to content
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 #1

Open
boenrobot opened this issue May 1, 2015 · 3 comments
Open

How to #1

boenrobot opened this issue May 1, 2015 · 3 comments

Comments

@boenrobot
Copy link

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?

@axper
Copy link
Owner

axper commented May 1, 2015

This is what I used:
https://docs.python.org/3.4/distutils/builtdist.html
It requires Visaul Studio 2008 (or 2010?) IIRC.

@axper axper closed this as completed May 1, 2015
@boenrobot
Copy link
Author

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?

@axper
Copy link
Owner

axper commented May 1, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants