Page MenuHomePhabricator

Build debug Python on Windows
Closed, InvalidPublic

Description

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.

Related Objects

StatusAssignedTask
InvalidNone
ResolvedNone

Event Timeline

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.

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.

An additional patch to resolve the name clash of debug and release PythonQt libraries.

kislinsk triaged this task as Normal priority.Aug 10 2016, 5:44 AM

@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.