Problem w/ boost_python_debug.dll

Richard kapis at
Sun Sep 15 01:23:22 EDT 2002

I'm using Boost.Python (v1) to embed & extend a C++ application. I've
downloaded ActiveState's distribution and built the debug python
library and DLL.

I built the release and python-debug versions of Boost.Python as is
documented. I also define BOOST_DEBUG_PYTHON in my C++ files since I
have the debug python libraries.

Enough with the background, let's get to the problem. For debug
builds, I link with boost_python_pydebug.lib. But when I run the
program, it still tries to load up boost_python.dll, NOT the debug
version! The only way I know to fix the problem is to rename
boost_python_pydebug.dll so that it is loaded instead.

Does anyone know a better fix? Any help would be appreciated.


More information about the Python-list mailing list