python26_d.dll

来源:互联网 发布:网络机顶盒连接笔记本 编辑:程序博客网 时间:2024/06/06 03:45

http://stackoverflow.com/questions/1236060/compiling-python-modules-whith-debug-defined-on-msvc

 

As a workaround to the situation, try to copy the file python26.dll to python26_d.dll. (I'm not sure this will work; you say you are building a SWIG library in debug mode, and it's possible that SWIG will try to use features of the Python debugging version. If that's the case, you'll have no choice but to use the debugging version of Python.)

Edit: From comments:

You should also edit pyconfig.h and comment out the line "#define Py_DEBUG" (line 374)

 

原创粉丝点击