VTK 7.0.0 does not compile on 64-bit Windows 10 VS 2015
I cannot compile VTK 7.0.0 with CMake 3.6.2, Visual Studio 2015 14.0.25431.01 Update 3, Windows 10 Home Version 1511 (64-bit).
The first pass returned a couple hundred 'warnings' related to exception handling, which I resolved by adding this at line of the CMakeLists.txt file: SET(CMAKE_CXX_FLAGS "$(CMAKE_CXX_FLAGS) /EHsc")
Then there are quite a few errors that all seem related to the use of WIN32, and are improved by changing to _WIN32. The affected files are:
- lookup3.c
- vtkOLSDyna.h
- vtkVRMLImporter_Yacc.h
- nc4internal.h
- LSDynaFamily.cxx
I am a newbie to VTK, porting a Python script written for 32-bit Python 2.7 to 64-bit Python 3.5.