Python can't be build in debug Windows builds right now. VS needs the python lib with a trailing _d. When modifying the cmake build scripts to add the additional _d the runtime itself can't load it's own libraries and therefore fails to run.
Description
Description
Status | Assigned | Task | ||
---|---|---|---|---|
Invalid | None | T18124 Build debug Python on Windows | ||
Resolved | None | T19189 Enable Debug builds on UNIX Systems |
Event Timeline
Comment Actions
At the moment due to the changes in the build system and the debug suffix "_d" on the shared libraries debug also doesn't work on unix anymore.
Comment Actions
Here's a patch that contains some changes I made to build the debug version. I didn't check OpenCV so perhaps some more things need to be done, but the general gist should be clear. The patch is not based on the master, but I think resolving the conflicts should be very easy.
Comment Actions
An additional patch to resolve the name clash of debug and release PythonQt libraries.
Comment Actions
@heime : Have you looked into the patches? Are they a solution for the problem? Or are there any show stopper that impede solving the problem?
Bringing debug back would be realy helpfull, when we are going to invest more on the python trail.