When I try to configure my project in CMake 2.8.6 using VC 2010 Express, I get the following error. Any reason why?<div><br></div><div><p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; ">Check for working C compiler using: Visual Studio 10</p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; ">Check for working C compiler using: Visual Studio 10 -- broken</p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; "><span style=" color:#ff0000;">CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):</span></p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; "><span style=" color:#ff0000;"> The C compiler "C:/Program Files (x86)/Microsoft Visual Studio .NET</span></p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; "><span style=" color:#ff0000;"> 2003/Vc7/bin/cl.exe" is not able to compile a simple test program.</span></p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; color: rgb(255, 0, 0); "></p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; "><span style=" color:#ff0000;"> It fails with the following output:</span></p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; color: rgb(255, 0, 0); "></p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; "><span style=" color:#ff0000;"> Change Dir: C:/Code/work/sandbox/cmake-gfe-dev/build/CMakeFiles/CMakeTmp</span></p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; color: rgb(255, 0, 0); "></p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; "><span style=" color:#ff0000;"> </span></p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; color: rgb(255, 0, 0); "></p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; "><span style=" color:#ff0000;"> Run Build Command:C:\PROGRA~2\MICROS~<a href="http://2.NET">2.NET</a>\Common7\IDE\<a href="http://devenv.com">devenv.com</a></span></p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; "><span style=" color:#ff0000;"> CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec</span></p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; color: rgb(255, 0, 0); "></p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; "><span style=" color:#ff0000;"> </span></p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; color: rgb(255, 0, 0); "></p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; "><span style=" color:#ff0000;"> Microsoft (R) Development Environment Version 7.10.6030.</span></p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; color: rgb(255, 0, 0); "></p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; "><span style=" color:#ff0000;"> Copyright (C) Microsoft Corp 1984-2001. All rights reserved.</span></p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; color: rgb(255, 0, 0); "></p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; "><span style=" color:#ff0000;"> </span></p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; color: rgb(255, 0, 0); "></p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; "><span style=" color:#ff0000;"> The selected file is a Visual Studio solution file, but was created by a</span></p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; "><span style=" color:#ff0000;"> newer version of Visual Studio and cannot be opened.</span></p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; color: rgb(255, 0, 0); "></p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; "><span style=" color:#ff0000;"> </span></p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; color: rgb(255, 0, 0); "></p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; "><span style=" color:#ff0000;"> CMake will not be able to correctly generate this project.</span></p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; "><span style=" color:#ff0000;">Call Stack (most recent call first):</span></p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; "><span style=" color:#ff0000;"> CMakeLists.txt:29 (project)</span></p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; color: rgb(255, 0, 0); "></p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; color: rgb(255, 0, 0); "></p>
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; ">Configuring incomplete, errors occurred!</p><div><br></div><div>---------</div>Robert Dailey<br>
</div>