[cmake-developers] [CMake 0015057]: Cmake fails during generating VS solution files on windows 7

Mantis Bug Tracker mantis at public.kitware.com
Mon Aug 4 10:21:19 EDT 2014


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=15057 
====================================================================== 
Reported By:                dds
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15057
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-08-04 10:21 EDT
Last Modified:              2014-08-04 10:21 EDT
====================================================================== 
Summary:                    Cmake fails during generating VS solution files on
windows 7
Description: 
Cmake fails during generating VS solution files on windows 7.
Cmake fails to determine compiler version.
In attachment is Cmake trace log (Trace.txt).

Output:

-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:13 (project):
  No CMAKE_C_COMPILER could be found.

CMake Error at CMakeLists.txt:13 (project):
  No CMAKE_CXX_COMPILER could be found.


Steps to Reproduce: 
1. Run "Developer Command Prompt for VS2013.bat" from Visual Studio Tools.
2. Open directory with CMakeLists.txt file.
3. Run "cmake -G "Visual Studio 12""


Additional Information: 
Cmake output with --debug-output option:

Running with debug output on.
-- The C compiler identification is unknown
   Called from: [2]     C:/Program Files
(x86)/CMake/share/cmake-3.0/Modules/CMakeDetermineCCompiler.cmake
                [1]     Y:/shared/tl/build/CMakeLists.txt
-- The CXX compiler identification is unknown
   Called from: [2]     C:/Program Files
(x86)/CMake/share/cmake-3.0/Modules/CMakeDetermineCXXCompiler.cmake
                [1]     Y:/shared/tl/build/CMakeLists.txt
CMake Error at CMakeLists.txt:13 (project):
  No CMAKE_C_COMPILER could be found.



   Called from: [1]     Y:/shared/tl/build/CMakeLists.txt
CMake Error at CMakeLists.txt:13 (project):
  No CMAKE_CXX_COMPILER could be found.


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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-08-04 10:21 dds            New Issue                                    
2014-08-04 10:21 dds            File Added: Trace.txt                        
======================================================================



More information about the cmake-developers mailing list