View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015978CMakeCMakepublic2016-02-17 11:062016-06-10 14:21
ReporterNiclas Larsén 
Assigned To 
PriorityhighSeverityfeatureReproducibilityalways
StatusclosedResolutionno change required 
PlatformWindowsOSOS Version
Product VersionCMake 3.4.3 
Target VersionFixed in Version 
Summary0015978: Visual Studio 2015 Update 2 CTP support
Descriptionthe latest visual studio preview isn't supported by cmake.

-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:43 (project):
  No CMAKE_C_COMPILER could be found.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0040498)
Brad King (manager)
2016-02-17 13:36

It works for me on Windows 10 with CMake 3.4.3 and 3.5.0-rc2:

> cmake --version
cmake version 3.4.3
...

> cmake ..\src -G "Visual Studio 14 2015"
-- The C compiler identification is MSVC 19.0.23725.0
....

What generator are you using?

Please post the CMakeFiles/CMakeError.log file from the build tree.
(0040504)
Niclas Larsén (reporter)
2016-02-18 05:51

Thanks, found the error. My environment didn't have the default windows sdk installed.

From the CMakeError.log:

"C:\src\nda_etf_booking\CMakeFiles\3.5.0-rc2\CompilerIdC\CompilerIdC.vcxproj" (default target) (1) ->
(Desktop_PlatformPrepareForBuild target) ->
  C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\Win32\PlatformToolsets\v140\Toolset.targets(34,5): error MSB8036: The Windows SDK version 8.1 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages.."
(0040505)
Brad King (manager)
2016-02-18 09:36

Great, thanks for reporting back.
(0041246)
Kitware Robot (administrator)
2016-06-10 14:21

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2016-02-17 11:06 Niclas Larsén New Issue
2016-02-17 13:36 Brad King Note Added: 0040498
2016-02-18 05:51 Niclas Larsén Note Added: 0040504
2016-02-18 09:36 Brad King Note Added: 0040505
2016-02-18 09:36 Brad King Status new => resolved
2016-02-18 09:36 Brad King Resolution open => no change required
2016-06-10 14:21 Kitware Robot Note Added: 0041246
2016-06-10 14:21 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team