Build Sip with Python 2.7.3 64bit with MingW

I Try to build SIP against my 3DSMax Python 2.7.3 64bit version, because it’s not shipped with.

I configure it with:

python --platform win32-g++

and try to compile it with:

C:MinGWbinmingw32-make.exe install

it gives me following error:

collect2.exe: error: ld returned 1 exit status
Makefile:36: recipe for target 'sip.pyd' failed
mingw32-make[1]: *** [sip.pyd] Error 1
mingw32-make[1]: Leaving directory 'C:/Users/myuser/Desktop/sip-4.1
Makefile:3: recipe for target 'all' failed
mingw32-make: *** [all] Error 2

it works like a acharm with python 2.7.8. 32 bit. I think it’s because of the platform flag, but i can’t fint a flag for 64bit windows. I don’t really get into my head how to compile 64 bit with ming32.

a small hint to get rid of the knot in my head would be awesome. thanks in advance

Source: windows

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.