MantisBT - CMake
View Issue Details
0015776CMakeCMakepublic2015-10-07 20:052016-03-07 09:12
Rick Frank 
 
normalmajoralways
closedno change required 
WindowsWindow 7Service Pack 1
 
 
0015776: 3.3.4 RC 1 Asserts when running on ITK 4.8.0
Running CMake on ITK asserts in Runtime Library and prints the following:

Performing Test InitOnceExecuteOnce - Success
Checking for appropriate format for 64 bit long:
Width with l64 failed with result: 3
File:minkernel\crts\ucrt\inc\corecrt_internal_stdio_outout.h
Line 2480
Running CMake on ITK 4.8.0
No tags attached.
png Capture.PNG (206,014) 2015-10-07 20:05
https://public.kitware.com/Bug/file/5537/Capture.PNG
png
Issue History
2015-10-07 20:05Rick FrankNew Issue
2015-10-07 20:05Rick FrankFile Added: Capture.PNG
2015-10-08 10:39Brad KingTarget Version => CMake 3.4
2015-10-08 10:50Ben BoeckelNote Added: 0039538
2015-10-08 10:51Ben BoeckelNote Added: 0039539
2015-10-08 11:09Brad KingNote Added: 0039541
2015-10-08 11:09Brad KingStatusnew => resolved
2015-10-08 11:09Brad KingResolutionopen => no change required
2015-10-08 11:09Brad KingTarget VersionCMake 3.4 =>
2016-03-07 09:12Robert MaynardNote Added: 0040606
2016-03-07 09:12Robert MaynardStatusresolved => closed

Notes
(0039538)
Ben Boeckel   
2015-10-08 10:50   
Looks like something similar to what was hit while I was fixing VTK's HDF5:

https://gitlab.kitware.com/vtk/vtk/commit/718941125d967015e366172dd09793268f4c9eb5 [^]
https://gitlab.kitware.com/vtk/vtk/commit/a4cf06de481eb2a354d10e7874928200be65c400 [^]

but I'm not that familiar with ITK. If so, it's really a ITK+VS2015 issue, not a CMake issue.
(0039539)
Ben Boeckel   
2015-10-08 10:51   
Looking closer at the screenshot, that is indeed the problem since it is under itkhdf5. The HDFGroup has expressed interest in taking the patch. The contributor agreement is underway already to formally send it.
(0039541)
Brad King   
2015-10-08 11:09   
Thanks Ben. Indeed the screenshot shows that the problem is in a binary produced via a try_run and not in CMake itself.
(0040606)
Robert Maynard   
2016-03-07 09:12   
Closing resolved issues that have not been updated in more than 4 months.