[Insight-users] Notes on WrapITK under Windows

Blezek, Daniel J (GE, Research) blezek at crd.ge.com
Tue Aug 7 10:42:38 EDT 2007

>> (1) The linker complains about the debug version of the python
>> library. Python for windows is not shipped with the debug library,
>> however, it can be downloaded somewhere from http://
>> www.activestate.com .
> I never tried that - only a basic install of the binaries from python
> website. 

This one I can help with: the Python guys put some Windows specific code in Python.h that requires the debug DLL when you compile w/Debug or RelWithDebInfo.  You can skirt this:

// If debug, Python wants pythonxx_d.lib, so fake it out
#ifdef _DEBUG
#undef _DEBUG
#include <Python.h>
#define _DEBUG
#include <Python.h>


More information about the Insight-users mailing list