View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0013687 | CMake | CMake | public | 2012-11-16 06:01 | 2013-04-17 08:54 | ||||
Reporter | Michael Spencer | ||||||||
Assigned To | |||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | no change required | ||||||
Platform | x86-64 | OS | Windows | OS Version | 8 | ||||
Product Version | CMake 2.8.10.1 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0013687: Failure to find VS11 toolchain on Windows 8 | ||||||||
Description | I recently installed Windows 8 and VS 11.0.50727.1 RTMREL. When attempting to generate any CMake project (even just consisting of the PROJECT command) with the Visual Studio 11 (or Win64) generator I get the following error: K:\Build\test>cmake -G "Visual Studio 11" . The C compiler identification is unknown The CXX compiler identification is unknown Looking for argz.h CMake Error at L:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeCInformation.cmake:37 (get_filename_component): get_filename_component called with incorrect number of arguments Call Stack (most recent call first): CMakeLists.txt:3 (PROJECT) Followed by a bunch of fallout from this. This occurs with both cmake and cmake-gui. It also occurs even if I launch either from a VS11 Win64 command prompt. The error is because CMAKE_C_COMPILER is empty. I have tried reinstalling both VS and CMake. I have also tried the nightly version of CMake (cmake-2.8.10.20121113-ge39a1b-win32-x86.exe). VS works normally. And can be used via the command line. It is installed to the L: drive as opposed to the C:, but that has always worked for me in the past. | ||||||||
Steps To Reproduce | 1) Install Windows 8 2) Install VS 11 3) Install CMake 4) ??? 5) Fail to generate VS11 projects Not that I have attempted to reinstall Windows. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | test.zip [^] (26,003 bytes) 2012-11-16 13:03 | ||||||||
Relationships | |
Relationships |
Notes | |
(0031576) Brad King (manager) 2012-11-16 11:33 |
Using CMake 2.8.10.1 from the .zip windows binary on our download site I was able to configure, generate, and build a project with the "Visual Studio 11" generator on: Windows 8 Microsoft Visual Studio Professional 2012 Version 11.0.50727.1 RTMREL Microsoft .NET Framework Version 4.5.50709 It is installed in the default (C:) location. |
(0031577) Brad King (manager) 2012-11-16 11:35 |
Please zip up and attach the content of the CMakeFiles directory at the top of the attempted build tree. It contains some detailed logs and other files that may be helpful. |
(0031578) Michael Spencer (reporter) 2012-11-16 13:17 |
Hmm, looking at the detailed errors it appears I was wrong about VS working fine. Although it did at one point in the install/uninstall cycle work. |
(0031579) Brad King (manager) 2012-11-16 13:21 |
Re 0013687:0031578: Yes, the CMakeError.log has this line: 1>cl : Command line error D8027: cannot execute 'L:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\c2.dll' I'm resolving this issue for now. If you can narrow this down further to a CMake issue please re-open. |
(0032867) Robert Maynard (manager) 2013-04-17 08:54 |
Closing resolved issues that have not been updated in more than 4 months. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2012-11-16 06:01 | Michael Spencer | New Issue | |
2012-11-16 11:33 | Brad King | Note Added: 0031576 | |
2012-11-16 11:35 | Brad King | Note Added: 0031577 | |
2012-11-16 13:03 | Michael Spencer | File Added: test.zip | |
2012-11-16 13:17 | Michael Spencer | Note Added: 0031578 | |
2012-11-16 13:21 | Brad King | Note Added: 0031579 | |
2012-11-16 13:21 | Brad King | Status | new => resolved |
2012-11-16 13:21 | Brad King | Resolution | open => no change required |
2013-04-17 08:54 | Robert Maynard | Note Added: 0032867 | |
2013-04-17 08:54 | Robert Maynard | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |