Linking errors when compiling python extension module

后端 未结 4 2020
遇见更好的自我
遇见更好的自我 2020-12-21 09:00

So I\'m writing a python extension module in C and I\'m trying to compile it for my 64-bit Python build. After bashing my head against MinGW for a while, I did some googling

4条回答
  •  一生所求
    2020-12-21 10:02

    For my case , changing project properties in Visual studio (building solution for x64 instead of x86) helped , as Python version I was using was 64 bit . Both the versions shall match.

提交回复
热议问题