[CMake] VC2010 Express + CMake = fails

Robert Dailey rcdailey at gmail.com
Fri Nov 18 18:10:59 EST 2011


When I try to configure my project in CMake 2.8.6 using VC 2010 Express, I
get the following error. Any reason why?

Check for working C compiler using: Visual Studio 10

Check for working C compiler using: Visual Studio 10 -- broken

CMake Error at C:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):

The C compiler "C:/Program Files (x86)/Microsoft Visual Studio .NET

2003/Vc7/bin/cl.exe" is not able to compile a simple test program.

 It fails with the following output:

 Change Dir: C:/Code/work/sandbox/cmake-gfe-dev/build/CMakeFiles/CMakeTmp

  Run Build Command:C:\PROGRA~2\MICROS~2.NET\Common7\IDE\devenv.com

CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec

  Microsoft (R) Development Environment Version 7.10.6030.

 Copyright (C) Microsoft Corp 1984-2001. All rights reserved.

  The selected file is a Visual Studio solution file, but was created by a

newer version of Visual Studio and cannot be opened.

  CMake will not be able to correctly generate this project.

Call Stack (most recent call first):

CMakeLists.txt:29 (project)

 Configuring incomplete, errors occurred!

---------
Robert Dailey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20111118/5df30a0e/attachment.htm>


More information about the CMake mailing list