Forráskód Böngészése
Library depending on debug build of PythonQt will link against correct python library
Since CTK now depends on the 'patched-2' branch of PythonQt, this is
required to ensure the _DEBUG macro will be undefined
within PythonQtPythonInclude.h. By undefining _DEBUG, both PythonQt or any
library linking against it can successfully link against release
python library.
See https://github.com/commontk/PythonQt/blob/6366f002a93aa238c55f58de949d09c552cda5a9/src/PythonQtPythonInclude.h#L62
This will fix error like the following:
19>3>5>Generating moc_ctkVTKConnection.cxx
19>3>4>LINK : fatal error LNK1104: cannot open file 'python26_d.lib'
See issue #203