please include python26_d.lib in the installer

Compie johanc at gmail.com
Tue Mar 31 21:50:38 CEST 2009


On 27 mrt, 17:01, Carl Banks <pavlovevide... at gmail.com> wrote:
> OTOH, it's possible that SWIG and Python just happen to use the same
> macro to indicate debugging mode.  So I think you raise a valid point
> that this can be problematic.  Perhaps something like _Py_DEBUG should
> be used instead.

This would be a good solution IMHO. I'm not the only one facing this
problem. The internet is full of people looking for this file...
http://www.google.com/search?q=python25_d.lib+error+cannot

_DEBUG is automatically defined by Visual Studio when you build the
Debug version of a project.
http://msdn.microsoft.com/en-us/library/0b98s6w8.aspx

So I'm proposing: please use _PYTHON_DEBUG for this purpose. Would
this cause any problems?

Johan.



More information about the Python-list mailing list