building python extensions for windows : python23_d.lib file is missing
We're looking to make our own python modules for windows Python 23.
We use swig and Visual Studio C++ for making the dlls. But when trying to
compile, it says it's been missing a "Python23_d.lib" file.
According to the tutorial we did
it's a problem with the fact we use the release version of python and not a
But we don't know how to go through this (perhaps recompiling a debug
version ... but we don't know how to do).
Did someone get this problem and walk throug it ?
Thanks for your help
Antoine Maillard & André Garenne
Re: building python extensions for windows : python23_d.lib fileis missing
Antoine Maillard wrote:
> But we don't know how to go through this (perhaps recompiling a debug
> version ... but we don't know how to do).
Yes, you need to compile a debug version. Download the Python source
code, and follow the instructions in PCbuild/readme.txt.
a) build a release version of your own code, not a debug version, or
b) do not define _DEBUG in the debug version of your code
|All times are GMT. The time now is 07:08 AM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.