Link library limit exceeded on windows VS2019
I hit this linking error compiling paraview:
lib\vtkm_filter-pv5.8.lib : fatal error LNK1248: image size (1073B2AA2) exceeds maximum allowable size (FFFFFFFF)
Specifically, my config:
- VS2019 v16.4.3
- RelWithDebInfo build
- VTK_SMP_IMPLEMENTATION_TYPE set to TBB, so vtk-m TBB is enabled.
@robertmaynard found this: https://developercommunity.visualstudio.com/content/problem/332991/static-lib-4gb-file-size-limit-lnk1248-image-size.html which indicates a fundamental 4 GB limit in MS lib format. Dashboard release builds are only ~1.2GB.