Notes |
|
(0035107)
|
Brad King
|
2014-02-14 13:33
|
|
Some changes have been made since 2.8.12 that should resolve this. With CMake from the git 'master' branch as of commit 945a66a5 I can do:
> cmake.exe .. -G "Visual Studio 12 2013 Win64" -T "Windows7.1SDK"
-- The C compiler identification is MSVC 16.0.40219.1
-- Check for working C compiler using: Visual Studio 12 2013 Win64
-- Check for working C compiler using: Visual Studio 12 2013 Win64 -- works
Please try a recent nightly build:
http://www.cmake.org/files/dev/?C=M;O=D [^] |
|
|
(0035108)
|
Brad King
|
2014-02-14 13:33
|
|
With 2.8.12 you might be able to make it work by adding -DCMAKE_MAKE_PROGRAM=c:/path/to/msbuild.exe using the appropriate path to msbuild. |
|
|
(0035117)
|
jest
|
2014-02-17 03:48
|
|
failure:
E:\Microsoft.Cpp.Default.props (wrong path)
used:
cmake-2.8.12.20140216-gb463e-win32-x86.zip
tried:
cmake -G "Visual Studio 12 Win64" -T "Windows7.1SDK" -D CMAKE_MAKE_PROGRAM="C:/Program Files (x86)/MSBuild/12.0/Bin/amd64/MSBuild.exe" E:\Test
result:
Not searching for unused variables given on the command line.
-- 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 12 2013 Win64
-- Check for working C compiler using: Visual Studio 12 2013 Win64 -- broken
CMake Error at E:/Tools/CMake/share/cmake-2.8.12/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: E:/Test/_VS2013_vc100x64/CMakeFiles/CMakeTmp
Run Build Command:"C:/Program Files
-- Configuring incomplete, errors occurred!
See also "E:/Test/_VS2013_vc100x64/CMakeFiles/CMakeOutput.log".
(x86)/MSBuild/12.0/Bin/amd64/MSBuild.exe"
See also "E:/Test/_VS2013_vc100x64/CMakeFiles/CMakeError.log".
"cmTryCompileExec79388540.vcxproj" "/p:Configuration=Debug"
"/p:VisualStudioVersion=12.0"
Microsoft (R)-Buildmodul, Version 12.0.30110.0
[Microsoft .NET Framework, Version 4.0.30319.18408]
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.
Der Buildvorgang wurde am 17.02.2014 09:39:41 gestartet.
Projekt
"E:\Test\_VS2013_vc100x64\CMakeFiles\CMakeTmp\cmTryCompileExec79388540.vcxproj"
auf Knoten "1" (Standardziele).
E:\Test\_VS2013_vc100x64\CMakeFiles\CMakeTmp\cmTryCompileExec79388540.vcxproj(27,3):
error MSB4019: Das importierte Projekt "E:\Microsoft.Cpp.Default.props"
wurde nicht gefunden. Vergewissern Sie sich, dass der Pfad in der
<Import>-Deklaration korrekt und die Datei auf dem Datenträger vorhanden
ist.
Die Erstellung des Projekts
"E:\Test\_VS2013_vc100x64\CMakeFiles\CMakeTmp\cmTryCompileExec79388540.vcxproj"
ist abgeschlossen (Standardziele) -- FEHLER.
Fehler beim Buildvorgang.
"E:\Test\_VS2013_vc100x64\CMakeFiles\CMakeTmp\cmTryCompileExec79388540.vcxproj"
(Standardziel) (1) ->
E:\Test\_VS2013_vc100x64\CMakeFiles\CMakeTmp\cmTryCompileExec79388540.vcxproj(27,3): error MSB4019: Das importierte Projekt "E:\Microsoft.Cpp.Default.props" wurde nicht gefunden. Vergewissern Sie sich, dass der Pfad in der
<Import>-Deklaration korrekt und die Datei auf dem Datenträger vorhanden ist. |
|
|
(0035120)
|
Brad King
|
2014-02-17 08:36
|
|
Re 0014755:0035117: You shouldn't have to pass CMAKE_MAKE_PROGRAM at all with versions later than 2.8.12.2. I don't think that influenced the failure but it wouldn't hurt to try without it if you haven't already.
The case in question works for me on an English-language install of VS. I wonder if the failure has something to do with the German-language install, or if that is just a red herring.
With a fresh build tree, run CMake with the --debug-trycompile option:
cmake -G "Visual Studio 12 Win64" -T "Windows7.1SDK" E:\Test --debug-trycompile
This will leave the test project in CMakeFiles\CMakeTmp under the top of the build tree. Try loading and building it in the IDE by hand. |
|
|
(0035125)
|
jest
|
2014-02-17 09:36
|
|
cmake -G "Visual Studio 12 Win64" -T "Windows7.1SDK"
works fine with
cmake-2.8.12.20140216-gb463e-win32-x86.zip
I have to figure out what previously went wrong in my own scripting. |
|
|
(0035128)
|
Brad King
|
2014-02-17 09:40
|
|
Okay, thanks for reporting back. Please re-open the issue if you find that the error may still be in CMake.
|
|
|
(0036908)
|
Robert Maynard
|
2014-10-06 10:32
|
|
Closing resolved issues that have not been updated in more than 4 months. |
|