The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=15228 
====================================================================== 
Reported By:                Remi
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15228
Category:                   CMake
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-10-29 17:32 EDT
Last Modified:              2014-10-29 17:32 EDT
====================================================================== 
Summary:                    Compiler identification fails with
-DCMAKE_SYSTEM_NAME=WindowsStore
Description: 
cmake version 3.1.0-rc1

I tried to generate a project with the command line below:

cmake -G "Visual Studio 12 2013" -DCMAKE_SYSTEM_NAME=WindowsStore
-DCMAKE_SYSTEM_VERSION=8.0

and it fails with:

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



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



-- Configuring incomplete, errors occurred!
See also "[censored]/CMakeFiles/CMakeOutput.log".
See also "[censored]/CMakeFiles/CMakeError.log".

I checked the files to understand the error.

 C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Platform.targets(64,5):
error MSB8020: The build tools for Visual Studio 2012 (Platform Toolset =
'v110') cannot be found. To build using the v110 build tools, please install
Visual Studio 2012 build tools.  Alternatively, you may upgrade to the current
Visual Studio tools by selecting the Project menu or right-click the solution,
and then selecting "Upgrade Solution...".

I believe the error is that 'v110' in the project file should be 'v120'.

Steps to Reproduce: 
cmake -G "Visual Studio 12 2013" -DCMAKE_SYSTEM_NAME=WindowsStore
-DCMAKE_SYSTEM_VERSION=8.0

Installed on my machine:
 VS Express 2013 for Desktop
 VS Express 2013 for Windows 
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-10-29 17:32 Remi           New Issue                                    
======================================================================

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to