You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to charm-...@googlegroups.com
After storms, computer assassination threats and attempts that would break everything but the kitchen stove, here's how I successfully installed Charm Crypto on mingw running on Windows 8.1 Pro and Anaconda3 Python.
What I used:
Anaconda Python 3.4 32 bits (the 64-bit version caused problems with mingw 32-bit version, and I did not even attempt mingw 64 bits).
Select several things on mingw, including msys, but do not include any GMP library. I attempted excluding OpenSSL libraries, but some of them seem necessary for gcc, which will fail at gmp compile time.
Create file pydistutils.cfg
in your home directory with the following contents.
[build]
compiler=mingw32
Next, use
pexports to export the python dll symbols. (this library is found within
Anaconda3 directory). Use the following command (adjust python path as
necessary):
Move libpython34.a to /mingw/lib and to /c/Users/youruser/Anaconda3/libs.
Important! Remove or rename pydistutils.cfg, otherwise next steps will fail.
Now Charm install per Charm page (configure, make, make install).
Test. Run Anaconda Python from within mingw shell (>spyder); running Anaconda outside mingw shell loses some seemingly important path variables and Charm libraries will not run properly (in particular, the core/benchmark library will never be found if running python outside mingw shell).