I just built VTK 9.6 for both 32 bit and 64 bit with release configuration and Visual Studio 2026. It built without any issues.
I have an old project that was using VTK 6.3 and static libraries.
The old vtkCommonCore-6.3.lib for 32 bit was 11 MB
The new vtkCommonCore-9.6.lib for 32 bit is 454 MB and the 64 bit 605 MB.
I saw there was a commit to reduce size 9 months ago, Reduce build time and binary directory size of vtkCommonCore and fix Windows debug build (!12133) · Merge requests · VTK / VTK · GitLab
But libraries for 9.6 have clearly grown a lot, and the table for that request shows other compilers generates much smaller. And what does the master vs bulk mean in that table?
Also, I’d like to be able to build our application for 32 and 64 bits with same include files. Almost all include files are identical (tested using kdiff) for the two configurations, but a few include files have differences:
include\vtk-9.6\vtkcgns\src\cgnstypes.h:
CG_BUILD_64BIT
include\vtk-9.6\vtkhdf5\H5pubconf.h:
H5_SIZEOF_SIZE_T
include\vtk-9.6\vtktiff\libtiff\tiffconf.h:
TIFF_SSIZE_T
include\vtk-9.6\vtkOptions.h:
VTK_USE_64BIT_IDS and VTK_USE_64BIT_TIMESTAMPS
I can modify the generated header files to determine these based on _M_X64, but it would be nice if I didn’t have to do that.
Jonas