Page MenuHomePhabricator

Visual Studio 2015 compile crashes during superbuild of HDF5 library
Closed, ResolvedPublic

Description

The HDF5 version used by MITK (HDF5 version 1.8.14 released on 2014-11-12) throws debug assertions during compile with MSVS 2015


Microsoft Visual C++ Runtime Library

Debug Assertion Failed!

Program: ...HDF5\src\itkhdf5\CMake\CMakeFiles\CMakeTmp\Debug\cmTC_7951f.exe
File: minkernel\crts\ucrt\inc\corecrt_internal_stdio_output.h
Line: 2480

Expression: ("Invalid integer length modifier", 0)

For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.

(Press Retry to debug the application)
Abort Retry Ignore


(see also this github issue )

We are using our own HDF5 version, as ITK up to and including version 4.10 uses an even more ancient one (HDF5 version 1.8.7 released on Tue May 10 09:24:43 CDT 2011). However it looks like ITK is going to upgrade theirs to 1.8.17 for version 4.11 ( commit )