VTK build fails on Windows in Debug mode

ungi
Wed, 16 Apr 2025 21:04:33 +0000
Development

Hi, I followed the Slicer build instructions today on Windows with default CMake options. The Release build went well with no errors. But in Debug mode, one project from VTK resulted in a link error. Looks like the resulting binary would exceed the maximum size. Slicer couldn’t be build because of the dependencies.

Severity | Code | Description | Project | File | Line | Suppression State | Details
Error | LNK1248 | image size (1044EE70F) exceeds maximum allowable size (FFFFFFFF) | CommonCore-objects | C:\D\SD\VTK-build\Common\Core\CommonCore-objects.dir\Debug\CommonCore-objects.lib | 1 | |

3 posts - 2 participants