By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,205 Members | 1,086 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,205 IT Pros & Developers. It's quick & easy.

Missing python23_d.lib in Windows Python 2.3

P: n/a
I am building extension modules for Python 2.3 under Windows using MS Visual
Studio .Net 2003.
In the debug build, there is a pragma statement in <pyconfig.h> that causes
a link to the lib python23_d.lib
This library does not exist.
Am I missing something or is the installation missing something?
Jul 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Partho Bhowmick wrote:
I am building extension modules for Python 2.3 under Windows using MS Visual
Studio .Net 2003.
In the debug build, there is a pragma statement in <pyconfig.h> that causes
a link to the lib python23_d.lib
This library does not exist.
Am I missing something or is the installation missing something?


The standard distribution does not come with a debug version of that
library.

You can get around it by doing:

#ifdef _DEBUG
#undef _DEBUG
#include <python.h>
#define _DEBUG
#else
#include <python.h>
#endif

Ugly but it works.

Harri

Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.