Creating a DLL from a wrapped cpp file with SWIG

前端 未结 8 2019
刺人心
刺人心 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 21:00

    I found out that addind the Python symbols do the Project solves it. Do it like this

    I also copied the python27.lib to a file named python27_d.lib

提交回复
热议问题