<div dir="ltr"><div><div><div><div>Dear users, <br><br></div>I try to build VTK with python wrap on Windows 7. My configuration is MS Visual Studio 2013,<br></div>VTK 7.0.0, CMake 3.2.2, Release mode, Python 3.4 (also tried Python 2.7 but same story)<br><br></div>I provided the following flags in Cmake:<br><br>BUILD_SHARED_LIBS:BOOL=ON<br></div>VTK_WRAP_PYTHON:BOOL=ON<br>PYTHON_EXECUTABLE:FILEPATH=C:/Python34/python.exe<br>PYTHON_INCLUDE_DIR:PATH=C:/Python34/include<br>PYTHON_LIBRARY:FILEPATH=C:/Python34/libs/python34.lib<br><div><div><div><div><div><br>but I get a series of link errors like these: <br><br>Error 1 error LNK2001: unresolved external symbol __imp_PyType_IsSubtype D:\VTK-7.0.0\bin\Wrapping\PythonCore\PyVTKMutableObject.obj vtkWrappingPythonCore<br>Error 2 error LNK2001: unresolved external symbol __imp_PyType_IsSubtype D:\VTK-7.0.0\bin\Wrapping\PythonCore\PyVTKObject.obj vtkWrappingPythonCore<br>Error 3 error LNK2019: unresolved external symbol __imp_PyType_IsSubtype referenced in function "bool __cdecl vtkPythonGetLongLongValue<__int64>(struct _object *,__int64 &)" (??$vtkPythonGetLongLongValue@_J@@YA_NPEAU_object@@AEA_J@Z) D:\VTK-7.0.0\bin\Wrapping\PythonCore\vtkPythonArgs.obj vtkWrappingPythonCore<br><br><br></div><div>Probably I am doing some very basic errors but after several tries I can't figure out what.<br></div><div>Please any help is appreciated.<br><br></div><div>Regards <br clear="all"></div><div><br>-- <br><div class="gmail_signature">Marco </div>
</div></div></div></div></div></div>