View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014490CMakeCMakepublic2013-10-17 08:392014-03-05 09:58
ReporterDomagoj Saric 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionno change required 
PlatformWindowsOSOS Version
Product VersionCMake 2.8.12 
Target VersionFixed in Version 
Summary0014490: Wrong Windows SDK location detected
DescriptionI use Visual Studio 2010 Express with SP1 and I installed the Windows SDK 7.1 into a non default/'standard' location (D:/3rdParty/WindowsSDK/7.1) yet CMake reports:

Found Windows SDK v7.1: C:\Program Files\Microsoft SDKs\Windows\v7.1\

and then fails with:


CMake Error at C:/Program Files (x86)/CMake/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:446 (execute_process):
  execute_process given COMMAND argument with no value.
Call Stack (most recent call first):
  C:/Program Files (x86)/CMake/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:48 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)
  C:/Program Files (x86)/CMake/share/cmake-2.8/Modules/CMakeDetermineCXXCompiler.cmake:127 (CMAKE_DETERMINE_COMPILER_ID)
  CMakeLists.txt:62 (project)


ps. even if I did install it into the default location, the detected/reported location would still be wrong because it point to the 64 bit Program Files (whereas the SDK installs into the x86 version)

pps. I tried to solve the problem with directory symlinks but it did not help...
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0034137)
Domagoj Saric (reporter)
2013-10-17 08:40

I forgot to mention that I'm trying to use the "Visual Studio 10 Win64" generator (that's why the Windows SDK is needed)...
(0034138)
Brad King (manager)
2013-10-17 08:49

The lookup takes place here:

http://cmake.org/gitweb?p=cmake.git;a=blob;f=Source/cmGlobalVisualStudio10Generator.cxx;hb=v2.8.12#l328 [^]

and simply uses the registry value

 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.1;InstallationFolder
(0034279)
Domagoj Saric (reporter)
2013-10-29 07:39

Thanks, I checked and the value in the registry is wrong so it appears that the SDK installer is broken (indeed I've found many reports of installation problems with this particular Windows SDK version)...so feel free to close the ticket...
(0034280)
Brad King (manager)
2013-10-29 08:26

Great, thanks for reporting back.
(0035301)
Robert Maynard (manager)
2014-03-05 09:58

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

 Issue History
Date Modified Username Field Change
2013-10-17 08:39 Domagoj Saric New Issue
2013-10-17 08:40 Domagoj Saric Note Added: 0034137
2013-10-17 08:49 Brad King Note Added: 0034138
2013-10-29 07:39 Domagoj Saric Note Added: 0034279
2013-10-29 08:26 Brad King Note Added: 0034280
2013-10-29 08:26 Brad King Status new => resolved
2013-10-29 08:26 Brad King Resolution open => no change required
2014-03-05 09:58 Robert Maynard Note Added: 0035301
2014-03-05 09:58 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team