View Issue Details [ Jump to Notes ] | [ Print ] |
ID | Project | Category | View Status | Date Submitted | Last Update |
0015558 | CMake | CMake | public | 2015-05-06 15:34 | 2016-06-10 14:31 |
|
Reporter | jest | |
Assigned To | Kitware Robot | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | moved | |
Platform | Win64 | OS | Windows | OS Version | 7 |
Product Version | CMake 3.2.2 | |
Target Version | | Fixed in Version | | |
|
Summary | 0015558: CMake Generator Visual Studio 14 2015 Win64 doesn't work with Toolset WindowsSDK7.1 |
Description | I want to use VisualStudio 2015 (RC) as IDE and use WindowsSDK7.1 as Toolchain.
The generator says the compiler (vc100) is not able to compile a simple test program. |
Steps To Reproduce | cmake -G "Visual Studio 14 2015 Win64" -T "Windows7.1SDK" |
Additional Information | Workaround:
cmake -G "Visual Studio 14 2015 Win64"
and set the toolchain manually in VisualStudio |
Tags | No tags attached. |
|
Attached Files | consoleOutput.txt [^] (4,150 bytes) 2015-05-07 14:38 [Show Content] [Hide Content]D:\Test>D:\CMake\V3_2_2_win32\bin\cmake -G "Visual Studio 14 2015 Win64" -T "Windows7.1SDK" .
-- The C compiler identification is MSVC 16.0.40219.1
-- The CXX compiler identification is MSVC 16.0.40219.1
-- Check for working C compiler using: Visual Studio 14 2015 Win64
-- Check for working C compiler using: Visual Studio 14 2015 Win64 -- broken
CMake Error at D:/CMake/V3_2_2_win32/share/cmake-3.2/Modules/CMakeTestCCompiler.cmake:61 (message):
The C compiler "C:/Program Files (x86)/Microsoft Visual Studio
10.0/VC/bin/x86_amd64/cl.exe" is not able to compile a simple test program.
It fails with the following output:
Change Dir: D:/Test/CMakeFiles/CMakeTmp
Run Build Command:"C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe"
"cmTryCompileExec3994507419.vcxproj" "/p:Configuration=Debug"
"/p:VisualStudioVersion=14.0"
Microsoft (R)-Buildmodul, Version 14.0.22823.1
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.
Der Buildvorgang wurde am 06.05.2015 10:08:49 gestartet.
Projekt
"D:\Test\CMakeFiles\CMakeTmp\cmTryCompileExec3994507419.vcxproj" auf
Knoten "1" (Standardziele).
PrepareForBuild:
Das Verzeichnis "cmTryCompileExec3994507419.dir\Debug\" wird erstellt.
Das Verzeichnis "D:\Test\CMakeFiles\CMakeTmp\Debug\" wird erstellt.
InitializeBuildStatus:
"cmTryCompileExec3994507419.dir\Debug\cmTryCompileExec3994507419.unsuccessfulbuild" wird erstellt, da "AlwaysCreate" angegeben wurde.
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\x86_amd64\CL.exe /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:pre
cise /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec3994507419.dir\Debug\\" /Fd"cmTryCompileExec3994507419.dir\Debug\vcWindows7.1SDK.pdb" /Gd /TC /errorReport:queue D:\Test\CMakeFiles\CMakeTmp\test
CCompiler.c
Microsoft (R) C/C++ Optimizing Compiler Version 16.00.40219.01 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
cl /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec3994507419.dir\Debug\\"
/Fd"cmTryCompileExec3994507419.dir\Debug\vcWindows7.1SDK.pdb" /Gd /TC /errorReport:queue D:\Test\CMakeFiles\CMakeTmp\testCCompiler.c
testCCompiler.c
ManifestResourceCompile:
C:\Program Files\Microsoft SDKs\Windows\v7.1\bin\rc.exe /nologo /fo"cmTryCompileExec3994507419.dir\Debug\cmTryCompileExec3994507419.exe.embed.manifest.res" cmTryCompileExec3994507419.dir\Debug\cmT
ryCompileExec3994507419_manifest.rc
Link:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\x86_amd64\link.exe /ERRORREPORT:QUEUE /OUT:"D:\Test\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec3994507419.exe" /INCREMENTAL /NOLOGO k
ernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /ManifestFile:"cmTryCompileExec3994507419.dir\Debug\cmTryCompileExec399450
7419.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"D:/Test/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec3994507419.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAM
ICBASE /NXCOMPAT /IMPLIB:"D:/Test/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec3994507419.lib" /MACHINE:X64 cmTryCompileExec3994507419.dir\Debug\cmTryCompileExec3994507419.exe.embed.manifest.res
cmTryCompileExec3994507419.dir\Debug\testCCompiler.obj /machine:x64 /debug
LINK : fatal error LNK1158: cannot run 'cvtres.exe'
[D:\Test\CMakeFiles\CMakeTmp\cmTryCompileExec3994507419.vcxproj]
Die Erstellung des Projekts
"D:\Test\CMakeFiles\CMakeTmp\cmTryCompileExec3994507419.vcxproj" ist
abgeschlossen (Standardziele) -- FEHLER.
Fehler beim Buildvorgang.
"D:\Test\CMakeFiles\CMakeTmp\cmTryCompileExec3994507419.vcxproj"
(Standardziel) (1) ->
(Link Ziel) ->
LINK : fatal error LNK1158: cannot run 'cvtres.exe' [D:\Test\CMakeFiles\CMakeTmp\cmTryCompileExec3994507419.vcxproj]
|
|