Creating a DLL from a wrapped cpp file with SWIG

前端 未结 8 2054
刺人心
刺人心 2021-01-02 20:42

I am in the process of learning how to use SWIG on Windows.

The following is my c++ code:

 /* File : example.cxx */

 #include \"example.h\"
 #defin         


        
8条回答
  •  醉酒成梦
    2021-01-02 20:54

    I resolved the missing python27_d.lib by doing the following:

    • Copy python27.lib to python27_d.lib
    • In pyconfig.h comment out define Py_DEBUG

提交回复
热议问题