Python: undefined reference to `_imp __Py_InitModule4'

前端 未结 6 976
天涯浪人
天涯浪人 2020-12-05 11:59

I\'m trying to do a debug build of the Rabbyt library using mingw\'s gcc to run with my MSVC built python26_d.. I got a lot of undefined references which caused me to create

6条回答
  •  春和景丽
    2020-12-05 12:05

    If anyone comes across this same error message, but in a different situation: try to add -D MS_WIN64 to your command line, it worked for me!

提交回复
热议问题