I'm trying to build a debug of Rabbyt library using mingw's GCC to run with my MSVC built python26_d I have a lot of undefined references that made me libpython26_d.a, although one of the undefined references remains. Googling gives me:
But- Dynamic does not help.
E: \ minGW / bin \ gcc.exe -mno-cygwin -mdll -he -Wall g ie: \ code \ dragon \ dragon \ py26 \ included -ie: \ code \ dragon \ dragon \ py26 \ PC -c rabbyt / rabbyt._rabbyt.c -o \ temporary construction .win32-2.6- pydebug \ debug \ rabbyt \ rabbyt._rabbyt.o -O3 -fno- strict aliasing rabbyt / rabbyt._rabbyt.c: 1351: Warning: '__Pyx_SetItemInt build writing \ temp.win32-2.6-pydebug \ debug defined but they do not use \ rabbyt \ _rabbyt_d.def e: \ MinGW / bin \ gcc.exe -mno-cygwin are shared live building \ temp .win32-2.6-pydebug \ debug \ r abbyt \ rabbyt._rabbyt.o Construction \ temp.win32- 2.6 pydebug \ debug \ rabbyt \ _rabbyt_d.def - take: \ code \ dragon \ dragon \ Py26 \ libs le: \ code \ Python \ Python \ py26 \ PCbuild -lopengl32 -lglu32 -lpython26_d -lmsvcr90 -o build \ lib .win32-2.6-pydebug \ rabbyt \ _rabbyt_d. PYD building \ temp.win32-2.6-pydebug \ Debug \ rabbyt \ rabbyt._rabbyt.o: function `init_ra bbyt ': E: /code/python/rabbyt/rabbyt/rabbyt._rabbyt.c: 1121: undefined for Reference `_imp __Py_InitModule4 '
If a single error message comes in, but in a different situation: Add -D MS_WIN64
to your command line, it worked for me!
Comments
Post a Comment