python23_d.lib
Bryan
belred1 at yahoo.com
Fri Jun 11 21:41:20 EDT 2004
Shankar KN wrote:
> Hi,
>
> I am trying to get a hand on python23_d.lib but in vain.
> I am developing a C++ dll which has a SWIG interface to the Python world.
> After installing Python and SWIG I am able to build this DLL in Release mode
> but not in Debug mode beacuse of non-availability of python23_d.lib.
>
> Any clues as to how I could proceed with Debug build?
>
> Thanks,
> With best regards,
> Shankar
>
>
this is the simplest approach i've found. i just add this around the python.h include.
#ifdef _DEBUG
#include <Python.h>
#define _DEBUG
#else
#include <Python.h>
#endif
bryan
More information about the Python-list
mailing list