[cmake-developers] [CMake 0015878]: CMake 3.4.1 can not find standalone Windows SDK 8.1

Mantis Bug Tracker mantis at public.kitware.com
Fri Dec 11 14:11:14 EST 2015


The following issue has been SUBMITTED. 
====================================================================== 
https://public.kitware.com/Bug/view.php?id=15878 
====================================================================== 
Reported By:                Dmitry Sokolov
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15878
Category:                   CMake
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-12-11 14:11 EST
Last Modified:              2015-12-11 14:11 EST
====================================================================== 
Summary:                    CMake 3.4.1 can not find standalone Windows SDK 8.1
Description: 
Installed components:

* CMake 3.4.1
* Windows SDK 8.1 (standalone,
https://msdn.microsoft.com/en-us/windows/desktop/bg162891.aspx)
* Windows SDK 10 (standalone,
https://dev.windows.com/en-us/downloads/windows-10-sdk)
* Visual Studio Community 2015 with Update 1
(https://www.microsoft.com/en-us/download/details.aspx?id=49988)

Launching CMake:

cmake -G "Visual Studio 14 2015 ARM" ^
  -D CMAKE_SYSTEM_NAME=WindowsStore ^
  -D CMAKE_SYSTEM_VERSION=8.1 ^
  -D CMAKE_MACHINE_TYPE="ARM" ^
  -D CMAKE_C_COMPILER_WORKS=1 ^
  -D CMAKE_CXX_COMPILER_WORKS=1 ^
  -D CMAKE_SUPPRESS_REGENERATION=1 ^
  -D CMAKE_BUILD_TYPE=Release ^
  -D CMAKE_CONFIGURATION_TYPES=Release ^
  -D CMAKE_SKIP_BUILD_ALL_DEPENDENCY=1 ^
  x:/source


CMake Error at CMakeLists.txt:20 (project):
  A Windows Store component with CMake requires both the Windows Desktop SDK
  as well as the Windows Store '8.1' SDK.  Please make sure that you have
  both installed


Additional Information: 
========== Environment variables ==========

CommandPromptType=Cross
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
ComSpec=C:\WINDOWS\system32\cmd.exe
DevEnvDir=C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\
Framework40Version=v4.0
FrameworkDir=C:\WINDOWS\Microsoft.NET\Framework64
FrameworkDIR32=C:\WINDOWS\Microsoft.NET\Framework\
FrameworkDIR64=C:\WINDOWS\Microsoft.NET\Framework64
FrameworkVersion=v4.0.30319
FrameworkVersion32=v4.0.30319
FrameworkVersion64=v4.0.30319
INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\INCLUDE;C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\ATLMFC\INCLUDE;C:\Program Files (x86)\Windows
Kits\10\include\10.0.10586.0\ucrt;C:\Program Files (x86)\Windows
Kits\NETFXSDK\4.6.1\include\um;C:\Program Files (x86)\Windows
Kits\8.1\include\shared;C:\Program Files (x86)\Windows
Kits\8.1\include\um;C:\Program Files (x86)\Windows
Kits\8.1\include\winrt;C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\INCLUDE;C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\ATLMFC\INCLUDE;C:\Program Files (x86)\Windows
Kits\10\include\10.0.10586.0\ucrt;C:\Program Files (x86)\Windows
Kits\NETFXSDK\4.6.1\include\um;C:\Program Files (x86)\Windows
Kits\8.1\include\shared;C:\Program Files (x86)\Windows
Kits\8.1\include\um;C:\Program Files (x86)\Windows Kits\8.1\include\winrt;
LIB=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\ARM;C:\Program
Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB\ARM;C:\Program Files
(x86)\Windows Kits\10\lib\10.0.10586.0\ucrt\ARM;C:\Program Files (x86)\Windows
Kits\NETFXSDK\4.6.1\lib\um\ARM;C:\Program Files (x86)\Windows
Kits\8.1\lib\winv6.3\um\ARM;C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\LIB;C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\ATLMFC\LIB;C:\Program Files (x86)\Windows
Kits\10\lib\10.0.10586.0\ucrt\x86;C:\Program Files (x86)\Windows
Kits\NETFXSDK\4.6.1\lib\um\x86;C:\Program Files (x86)\Windows
Kits\8.1\lib\winv6.3\um\x86;
LIBPATH=C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319;C:\Program Files
(x86)\Microsoft Visual Studio 14.0\VC\LIB\ARM;C:\Program Files (x86)\Microsoft
Visual Studio 14.0\VC\ATLMFC\LIB\ARM;C:\Program Files (x86)\Windows
Kits\8.1\References\CommonConfiguration\Neutral;\Microsoft.VCLibs\14.0\References\CommonConfiguration\neutral;C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319;C:\Program
Files (x86)\Microsoft Visual Studio 14.0\VC\LIB;C:\Program Files (x86)\Microsoft
Visual Studio 14.0\VC\ATLMFC\LIB;C:\Program Files (x86)\Windows
Kits\8.1\References\CommonConfiguration\Neutral;\Microsoft.VCLibs\14.0\References\CommonConfiguration\neutral;
NETFXSDKDir=C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\
NUMBER_OF_PROCESSORS=4
OS=Windows_NT
Path=C:\Program Files (x86)\Microsoft Visual Studio
14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program Files
(x86)\MSBuild\14.0\bin\amd64;C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\BIN\amd64_arm;C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\BIN\amd64;C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319;C:\Program
Files (x86)\Microsoft Visual Studio 14.0\VC\VCPackages;C:\Program Files
(x86)\Microsoft Visual Studio 14.0\Common7\IDE;C:\Program Files (x86)\Microsoft
Visual Studio 14.0\Common7\Tools;C:\Program Files (x86)\HTML Help
Workshop;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team
Tools\Performance Tools\x64;C:\Program Files (x86)\Microsoft Visual Studio
14.0\Team Tools\Performance Tools;C:\Program Files (x86)\Windows
Kits\8.1\bin\x64;C:\Program Files (x86)\Windows Kits\8.1\bin\x86;C:\Program
Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\x64\;C:\Program
Files (x86)\Microsoft Visual Studio
14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program Files
(x86)\MSBuild\14.0\bin;C:\Program Files (x86)\Microsoft Visual Studio
14.0\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\BIN;C:\Program Files (x86)\Microsoft Visual Studio
14.0\Common7\Tools;C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319;C:\Program
Files (x86)\Microsoft Visual Studio 14.0\VC\VCPackages;C:\Program Files
(x86)\HTML Help Workshop;C:\Program Files (x86)\Microsoft Visual Studio
14.0\Team Tools\Performance Tools;C:\Program Files (x86)\Windows
Kits\8.1\bin\x86;C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX
4.6.1
Tools\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\twain_32\MF4010;C:\Dev\Tools\Ninja;C:\Dev\Tools\Jom;C:\Dev\Tools\TortoiseHg\;C:\Dev\Tools\TortoiseSVN\bin;C:\Dev\Tools\Msys2\mingw32\bin;C:\Dev\Tools\Msys2\usr\bin;C:\ProgramData\Oracle\Java\javapath;C:\Dev\Tools\Nodejs\;C:\Dev\Tools\TortoiseGit\bin;C:\Program
Files
(x86)\Skype\Phone\;C:\Dev\Tools\CMake\bin;D:\Users\Dmitry\AppData\Roaming\npm
Platform=ARM
PreferredToolArchitecture=x64
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 30 Stepping 5, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=1e05
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
SystemRoot=C:\WINDOWS
TEMP=B:\Temp
TMP=B:\Temp
UCRTVersion=10.0.10586.0
UniversalCRTSdkDir=C:\Program Files (x86)\Windows Kits\10\
user_inputversion=8.1
VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\
VisualStudioVersion=14.0
VS110COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio
11.0\Common7\Tools\
VS120COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio
12.0\Common7\Tools\
VS140COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio
14.0\Common7\Tools\
VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 14.0\
windir=C:\WINDOWS
WindowsLibPath=C:\Program Files (x86)\Windows
Kits\8.1\References\CommonConfiguration\Neutral
WindowsSdkDir=C:\Program Files (x86)\Windows Kits\8.1\
WindowsSDKLibVersion=winv6.3\
WindowsSDK_ExecutablePath_x64=C:\Program Files (x86)\Microsoft
SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\x64\
WindowsSDK_ExecutablePath_x86=C:\Program Files (x86)\Microsoft
SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-12-11 14:11 Dmitry Sokolov New Issue                                    
======================================================================



More information about the cmake-developers mailing list