[cmake-developers] [CMake 0014490]: Wrong Windows SDK location detected

Mantis Bug Tracker mantis at public.kitware.com
Thu Oct 17 08:39:51 EDT 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=14490 
====================================================================== 
Reported By:                Domagoj Saric
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14490
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-10-17 08:39 EDT
Last Modified:              2013-10-17 08:39 EDT
====================================================================== 
Summary:                    Wrong Windows SDK location detected
Description: 
I 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...
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-10-17 08:39 Domagoj Saric  New Issue                                    
======================================================================




More information about the cmake-developers mailing list