[issue23393] [Windows] Unable to link with Python in debug configuration

2015-02-04 Thread Sébastien Gallou
Sébastien Gallou added the comment: Thanks Steve, I will try to build it (hope it will not be too difficult...). If I don't success, I will use your solution. -- ___ Python tracker <http://bugs.python.org/is

[issue23393] [Windows] Unable to link with Python in debug configuration

2015-02-04 Thread Sébastien Gallou
Sébastien Gallou added the comment: So there is no mean to build my application in debug mode without rebuilding all Python ? -- ___ Python tracker <http://bugs.python.org/issue23

[issue23393] [Windows] Unable to link with Python in debug configuration

2015-02-04 Thread Sébastien Gallou
Sébastien Gallou added the comment: Thanks Steve for your quick answer. It's now clear for me. I will then apply this workaround : #ifdef PYTHON_USE_SOURCES #include #else #if defined WIN32 && defined _DEBUG #undef _DEBUG // Undef _DEBUG to use only release version

[issue23393] [Windows] Unable to link with Python in debug configuration

2015-02-04 Thread Sébastien Gallou
New submission from Sébastien Gallou: Hi all, I installed Python (2.7.9) as binaries under Windows. I have trouble trying to compile my application embedding Python, in debug configuration. I have exactly the same problem as described here : http://www.cmake.org/pipermail/cmake/2013-January