vtknetcdf does not initially build in Visual Studio 2017 in VTK 8.2
The issue is that HAVE_SNPRINTF
is not set properly. The macro is undefined causing snprintf
to be redefined in the config.h. If you rerun the failed build it will work the second time because it picks up the HAVE_SNPRINTF
definition cached by other third party libraries. There is a missing check for the snprintf
symbol in the CMakeLists.txt for vtknetcdf.