469,645 Members | 1,150 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,645 developers. It's quick & easy.

building python extensions for windows : python23_d.lib file is missing

Hi
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
(http://www.geocities.com/foetsch/pyt....htm#abstract),
it's a problem with the fact we use the release version of python and not a
débug version.
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
Jul 18 '05 #1
1 1721
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.

Alternatively:
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

Regards,
Martin
Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Chris Gonnerman | last post: by
reply views Thread by Kurt B. Kaiser | last post: by
6 posts views Thread by JW | last post: by
4 posts views Thread by vedrandekovic | last post: by
15 posts views Thread by kyosohma | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.