[cmake-developers] [CMake 0013687]: Failure to find VS11 toolchain on Windows 8

Mantis Bug Tracker mantis at public.kitware.com
Fri Nov 16 06:01:08 EST 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=13687 
====================================================================== 
Reported By:                Michael Spencer
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13687
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-11-16 06:01 EST
Last Modified:              2012-11-16 06:01 EST
====================================================================== 
Summary:                    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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-11-16 06:01 Michael SpencerNew Issue                                    
======================================================================




More information about the cmake-developers mailing list