MantisBT - CMake | ||||||||||
View Issue Details | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||
0009981 | CMake | CMake | public | 2009-11-30 17:33 | 2011-01-12 07:13 | |||||
Reporter | Dain | |||||||||
Assigned To | Brad King | |||||||||
Priority | normal | Severity | major | Reproducibility | always | |||||
Status | closed | Resolution | fixed | |||||||
Platform | OS | OS Version | ||||||||
Product Version | CMake-2-8 | |||||||||
Target Version | CMake 2.8.4 | Fixed in Version | CMake 2.8.4 | |||||||
Summary | 0009981: refering to 0009746: Visual Studio 2010 generator does not work with VS2010 Beta2 | |||||||||
Description | As in Issue 0009746, When trying to use Visual Studio 2010 32 and 64 generator with the latest VS2010 Beta2, using the lines in CMakeVS10FindMake.cmake: "$ENV{SYSTEMROOT}/Microsoft.NET/Framework/[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\10.0;CLR Version]/" "c:/WINDOWS/Microsoft.NET/Framework/[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\10.0;CLR Version]/" cmake would report error in "Detecting C compiler ABI info": ------------------------------------------------------------------------- CMake Error: Could not COPY_FILE. OutputFile: '' copyFile: 'D:/programming/libs/vtkbin/CMakeFiles/CMakeDetermineCompilerABI_C.bin' Unable to find executable for try_compile: tried "D:/programming/libs/vtkbin/CMakeFiles/CMakeTmp/cmTryCompileExec.exe" and "D:/programming/libs/vtkbin/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.exe" and "D:/programming/libs/vtkbin/CMakeFiles/CMakeTmp/Development/cmTryCompileExec.exe". Detecting C compiler ABI info - done --------------------------------------------------------------------- As indicated in Issue 0009746 the lines < "$ENV{SYSTEMROOT}/Microsoft.NET/Framework/v4.0.20506/" < c:/WINDOWS/Microsoft.NET/Framework/v4.0.20506/ < "$ENV{SYSTEMROOT}/Microsoft.NET/Framework/v4.0.21006/" < c:/WINDOWS/Microsoft.NET/Framework/v4.0.21006/ fixed the problem, but only for the 32 bit generator. The 64 generator gives the following error: ---------------------------------------------------------------------- Check for working C compiler: cl Check for working C compiler: cl -- broken CMake Error at C:/Programme/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:50 (MESSAGE): The C compiler "cl" is not able to compile a simple test program. It fails with the following output: Change Dir: D:/programming/libs/vtkbin/CMakeFiles/CMakeTmp Run Build Command:C:\Windows\Microsoft.NET\Framework\v4.0.21006\MSBuild.exe cmTryCompileExec.vcxproj /p:Configuration=Debug Microsoft (R) Build Engine Version 4.0.21006.1 [Microsoft .NET Framework, Version 4.0.21006.1] Copyright (C) Microsoft Corporation 2007. All rights reserved. Build started 30.11.2009 17:34:37. Project "D:\programming\libs\vtkbin\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj" on node 1 (default targets). C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.Cpp.InvalidPlatform.Targets(23,7): error MSB8007: The Platform for project 'cmTryCompileExec.vcxproj' is invalid. Platform='x64'. You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Platform that doesn't exist for this project. [D:\programming\libs\vtkbin\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj] Done Building Project "D:\programming\libs\vtkbin\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj" (default targets) -- FAILED. Build FAILED. "D:\programming\libs\vtkbin\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj" (default target) (1) -> (InvalidPlatformError target) -> C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.Cpp.InvalidPlatform.Targets(23,7): error MSB8007: The Platform for project 'cmTryCompileExec.vcxproj' is invalid. Platform='x64'. You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Platform that doesn't exist for this project. [D:\programming\libs\vtkbin\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj] 0 Warning(s) 1 Error(s) Time Elapsed 00:00:00.65 CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:5 (PROJECT) Configuring incomplete, errors occurred! ---------------------------------------------------------------------- The cl check worked before exchanging the lines and it still works in the visual studio 2010 beta2 32 generator. | |||||||||
Steps To Reproduce | ||||||||||
Additional Information | ||||||||||
Tags | No tags attached. | |||||||||
Relationships |
| |||||||||
Attached Files | ||||||||||
Issue History | ||||||||||
Date Modified | Username | Field | Change | |||||||
2009-11-30 17:33 | Dain | New Issue | ||||||||
2009-11-30 19:45 | Bill Hoffman | Status | new => assigned | |||||||
2009-11-30 19:45 | Bill Hoffman | Assigned To | => Brad King | |||||||
2009-11-30 19:49 | Bill Hoffman | Note Added: 0018619 | ||||||||
2009-11-30 21:55 | Dain | Note Added: 0018620 | ||||||||
2009-11-30 23:32 | Bill Hoffman | Note Added: 0018621 | ||||||||
2009-11-30 23:32 | Bill Hoffman | Assigned To | Brad King => Bill Hoffman | |||||||
2009-12-01 13:30 | Dain | Note Added: 0018624 | ||||||||
2009-12-01 16:06 | Bill Hoffman | Note Added: 0018628 | ||||||||
2009-12-01 16:07 | Bill Hoffman | Note Added: 0018629 | ||||||||
2010-12-01 13:46 | Brad King | Relationship added | related to 0010722 | |||||||
2010-12-01 13:48 | Brad King | Note Added: 0023644 | ||||||||
2010-12-01 13:48 | Brad King | Status | assigned => closed | |||||||
2010-12-01 13:48 | Brad King | Assigned To | Bill Hoffman => Brad King | |||||||
2010-12-01 13:48 | Brad King | Resolution | open => fixed | |||||||
2011-01-12 07:13 | David Cole | Fixed in Version | => CMake 2.8.4 | |||||||
2011-01-12 07:13 | David Cole | Target Version | => CMake 2.8.4 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|