Open mathildemerle opened 2 weeks ago
There is no issue with pyncpp here as it has compiled Python in debug mode as expected. The issue is that VTK is trying to use a non debug version of Python. This is certainly due to the code in superbuild/projects_modules/VTK.cmake
that tells VTK which python to use.
Indeed, i changed the title/comment
This issue will very soon be obsolete as I have changed pyncpp so as to always compile Python in release build (there is no need to have a debug build of Python we are not debugging Python but medInria). (as a general case we shouldn't be compiling the external projects in Debug mode apart from medInria)
On
master
branch the compilation bugs on VTK/Python in Debug mode (not Release)LINK : fatal error LNK1104: cannot open file 'python310.lib' [C:\b\workspace\music-win-free\build\ExtProjs\VTK\Wrapping\PythonCore\vtkWrappingPythonCore.vcxproj] [C:\b\workspace\music-win-free\build\superbuild\VTK-install.vcxproj]
Indeed there is only
python310_d.lib
file.