<div dir="ltr">Hello,<br><br>I am having a build problem with visual studio 10 after pulling the latest vtk from git.  The project generated from CMake points to the release library of python instead of the debug version which cause the build to fail.  Anyone could give a look and see what is happening with my projects?<br>

<br>In CMake I have:<br><br>PYTHON_DEBUG_LIBRARY:FILEPATH=C:/Python27/libs/python27_d.lib<br>PYTHON_EXECUTABLE:FILEPATH=C:/Python27/python.exe<br>PYTHON_LIBRARY:FILEPATH=C:/Python27/libs/python27.lib<br>PYTHON_INCLUDE_DIR:FILEPATH=C:/Python27/include<br>

<br>However in the VS-generated project, the linker dependency for the debug mode points to: C:\Python27\libs\python27.lib<br><br>And the build failed. The build is successful when the value is manually set to C:\Python27\libs\python27_d.lib.<br>

 <br>I did not have these problems from previous pull of git.  The change log from CMake is (from Show My Changes in CMake-gui):<br><br>Commandline options:<br><br>-DPYTHON_DEBUG_LIBRARY:FILEPATH=&quot;C:/Python27/libs/python27_d.lib&quot;<br>

-DPYTHON_EXECUTABLE:FILEPATH=&quot;C:/Python27/python.exe&quot;<br><br>Cache file:<br>PYTHON_DEBUG_LIBRARY:FILEPATH=C:/Python27/libs/python27_d.lib<br>PYTHON_EXECUTABLE:FILEPATH=C:/Python27/python.exe<br><br>I am using CMake 2.8.10.1<br>

Any idea what is going on here?<br><br>Regards</div>