<div dir="ltr">Hello, <br><br>I have tried to compile VTK 7.1 with MSVC2015 in release mode. Below is CMake command line that reproduces the bug.<br><br>I have faced two compilation issues with vtkNetCDF<br><br>First, compilation stopped because of a missing include file required in <br><a href="https://gitlab.kitware.com/vtk/vtk/blob/master/ThirdParty/netcdf/vtknetcdf/libsrc/lookup3.c#L58">https://gitlab.kitware.com/vtk/vtk/blob/master/ThirdParty/netcdf/vtknetcdf/libsrc/lookup3.c#L58</a><br><br>I had to comment the following specific Windows include instruction to continue<br>// #include <sys/param.h>  /* attempt to define endianness */<br><br>Second, in file ThirdParty\netcdf\vtknetcdf\libsrc4\nc4hdf.c, I have an error for line 3666<br>error C2177: constant too big<br><a href="https://gitlab.kitware.com/vtk/vtk/blob/master/ThirdParty/netcdf/vtknetcdf/libsrc4/nc4hdf.c#L3666">https://gitlab.kitware.com/vtk/vtk/blob/master/ThirdParty/netcdf/vtknetcdf/libsrc4/nc4hdf.c#L3666</a><br>I also commented the lines, and compilation continues<br><br>The comment on the next line seems gave me the idea to also comment the non compiling lines<br><br><a href="https://gitlab.kitware.com/vtk/vtk/blob/master/ThirdParty/netcdf/vtknetcdf/libsrc4/nc4hdf.c#L3674">https://gitlab.kitware.com/vtk/vtk/blob/master/ThirdParty/netcdf/vtknetcdf/libsrc4/nc4hdf.c#L3674</a><br><br>I have checked the master branch and no evolution has been made to the code since release 7.1.0<br><br><br>My CMake command line is<br><br>cmake ^<br>-DCTEST_USE_LAUNCHERS:BOOL=OFF ^<br>-DVTK_USE_LARGE_DATA:BOOL=OFF ^<br>-DVTK_WRAP_PYTHON:BOOL=OFF ^<br>-DVTK_WRAP_JAVA:BOOL=OFF ^<br>-DVTK_WRAP_TCL:BOOL=OFF ^<br>-DVTK_USE_SYSTEM_LIBRARIES:BOOL=OFF ^<br>-DVTK_Group_MPI:BOOL=OFF ^<br>-DVTK_Group_Qt:STRING=OFF ^<br>-DVTK_DEBUG_LEAKS:BOOL=OFF ^<br>-DVTK_ENABLE_KITS:BOOL=OFF ^<br>-DCMAKE_CXX_MP_FLAG:BOOL=OFF ^<br>-DVTK_LINKER_FATAL_WARNINGS:BOOL=ON ^<br>-DBUILD_EXAMPLES:BOOL=OFF ^<br>-DBUILD_TESTING:BOOL=OFF ^<br>-DNETCFD_ENABLE_CXX:BOOL=OFF ^<br>-DBUILD_SHARED_LIBS:BOOL=OFF ^<br>-DCMAKE_BUILD_TYPE:STRING=Release ^<br>-DCMAKE_INSTALL_PREFIX:PATH="C:/Program Files/VTK_7_1_0_MSVC14_64" ^<br>-G"Visual Studio 14 Win64" ^<br>..\VTK_7_1_0_SRC<br><br>Guillaume Jacquenot<br><br></div>