omnet++ 中c++調用python的常見錯誤和解決

我是用的32位mingw,32位python3.7。 1、錯誤和解決: 錯誤1:undefined reference to '_imp__Py_Initialize': 原因:沒有使用32位的python37.lib或沒有在編譯時引用python37.lib,如果mingw是32位,python就用32位。 錯誤2:ld.exe: cannot find -lpython37.lib: 原因:沒
相關文章
相關標籤/搜索