View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015616CMakeCMakepublic2015-06-13 11:322016-01-04 11:51
Reporterdkuegler 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionno change required 
PlatformWindowsOSWindowsOS Version8.1 Pro x64
Product VersionCMake 3.2.3 
Target VersionFixed in Version 
Summary0015616: Configuring for Visual Studio 2015 creates Error
DescriptionSystem:
Windows 8.1 Pro (up-to-date) x64
Visual Studio (multiple installations: 2012 Ultimate, 2010 Professional, 2015 RC1)
CMAKE 3.2.3

After downloading and selecting VTK 6.2.0 folder, klick Configure and select "Visual Studio 2015 x64", "default native compiler".

multiple Errors are raised: MS VC++ Redist Lib
minkernel\crts\ucrt\inc\corecrt_internal_stdio_output.h : 761 : Expression ("Unexpected length specifier", false)

The same happens for ITK 4.7.1 .

This issue might have to be escalated to Microsoft, but since it is directly happening from within CMAKE, I thought I'd start here.
Steps To ReproduceUse a Win8.1 machine
install Visual Studio 2015 RC

download VTK 6.2.0

run CMake 3.2.3
configure from the VTK 6.2.0 source with a blank Build folder
as a compiler select MS Visual Studio 2015 x64.

Errors should be thrown ...
Additional InformationWorkaround:
"Ignoring" seems to be sufficient
TagsNo tags attached.
Attached Filespng file icon VTK_CMAKE_Build-Error.PNG [^] (114,828 bytes) 2015-06-13 11:32


log file icon CMakeError.log [^] (685,505 bytes) 2015-06-13 13:52
log file icon CMakeOutput.log [^] (928,363 bytes) 2015-06-13 13:52

 Relationships

  Notes
(0038928)
Brad King (manager)
2015-06-15 11:40

Thanks for the detailed report. I reproduced the issue. It is not a problem with Visual Studio or CMake but rather with a program executed via try_run in HDF5 CMake code that comes with VTK. I've proposed a fix here:

 https://gitlab.kitware.com/vtk/vtk/merge_requests/307 [^]
(0038929)
Brad King (manager)
2015-06-15 11:41

I'm resolving this CMake issue tracker entry as the problem is not with CMake. Follow the link in 0015616:0038928 for updates on the VTK side.
(0040070)
Robert Maynard (manager)
2016-01-04 11:51

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2015-06-13 11:32 dkuegler New Issue
2015-06-13 11:32 dkuegler File Added: VTK_CMAKE_Build-Error.PNG
2015-06-13 13:52 dkuegler File Added: CMakeError.log
2015-06-13 13:52 dkuegler File Added: CMakeOutput.log
2015-06-15 11:40 Brad King Note Added: 0038928
2015-06-15 11:41 Brad King Note Added: 0038929
2015-06-15 11:41 Brad King Status new => resolved
2015-06-15 11:41 Brad King Resolution open => no change required
2016-01-04 11:51 Robert Maynard Note Added: 0040070
2016-01-04 11:51 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team