[cmake-developers] [CMake 0014595]: CMake cannot find Visual C++ Express

Mantis Bug Tracker mantis at public.kitware.com
Sun Nov 24 18:56:27 EST 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=14595 
====================================================================== 
Reported By:                Alex
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14595
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-11-24 18:56 EST
Last Modified:              2013-11-24 18:56 EST
====================================================================== 
Summary:                    CMake cannot find Visual C++ Express
Description: 
I'm trying to configure an example solution using CMake-gui on Windows for the
first time and cannot complete the configuration.  I am using Microsoft Visual
C++ 2010 Express on a 64-bit machine.  When I try to configure in CMake and
specify Visual Studio 10 as the generator I get: 

==========================================================
CMake Error at C:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:446
(execute_process):
  execute_process given COMMAND argument with no value.
Call Stack (most recent call first):
  C:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:48
(CMAKE_DETERMINE_COMPILER_ID_VENDOR)
  C:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/CMakeDetermineCCompiler.cmake:131
(CMAKE_DETERMINE_COMPILER_ID)
  


The C compiler identification is unknown
CMake Error at C:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:446
(execute_process):
  execute_process given COMMAND argument with no value.
Call Stack (most recent call first):
  C:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:48
(CMAKE_DETERMINE_COMPILER_ID_VENDOR)
  C:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/CMakeDetermineCXXCompiler.cmake:127
(CMAKE_DETERMINE_COMPILER_ID)
  


The CXX compiler identification is unknown
Configuring incomplete, errors occurred!
==========================================================

and when I specify Visual Studio 10 Win64 instead I get:

==========================================================
Found Windows SDK v7.1: C:\Program Files\Microsoft SDKs\Windows\v7.1\
CMake Error at C:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:446
(execute_process):
  execute_process given COMMAND argument with no value.
Call Stack (most recent call first):
  C:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:48
(CMAKE_DETERMINE_COMPILER_ID_VENDOR)
  C:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/CMakeDetermineCCompiler.cmake:131
(CMAKE_DETERMINE_COMPILER_ID)
  


The C compiler identification is unknown
CMake Error at C:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:446
(execute_process):
  execute_process given COMMAND argument with no value.
Call Stack (most recent call first):
  C:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:48
(CMAKE_DETERMINE_COMPILER_ID_VENDOR)
  C:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/CMakeDetermineCXXCompiler.cmake:127
(CMAKE_DETERMINE_COMPILER_ID)
  


The CXX compiler identification is unknown
Configuring incomplete, errors occurred!
==========================================================

I've tried re-installing / repairing Visual C++ several times as well as CMake
and while this may have exacerbated the problem as I've begun to suspect I have
a registry mix-up, bad environmental variables, or something of the like, it has
not yielded any luck thus far.


====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-11-24 18:56 Alex           New Issue                                    
======================================================================




More information about the cmake-developers mailing list