[CMake] VC2010 Express + CMake = fails

Robert Dailey rcdailey at gmail.com
Fri Nov 18 18:58:51 EST 2011


Well since this is VC Express, I don't have a "devenv.com" file in my
Common7 folder, so I guess that explains it?

Shouldn't CMake support VC2010 express?

---------
Robert Dailey


On Fri, Nov 18, 2011 at 5:10 PM, Robert Dailey <rcdailey at gmail.com> wrote:

> 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/4929b1db/attachment-0001.htm>


More information about the CMake mailing list