[CMake] Does CMake 2.6-patch 4 support MS Visual Studio 2008?
Dixon, Shane
Shane.Dixon at atmel.com
Fri Oct 30 13:26:16 EDT 2009
Are you running from the command-line or from the cmake-gui? If you're running from the command-line, you need to be sure to run it from the visual studio command prompt because it's picky about the environment. When I generated visual studio 2008 projects in CMake 2.6, I always used the cmake-gui and it worked. Check your environment because I'd say 80% of the time I had troubles, the environment was the culprit.
--
Shane Dixon
Linux Engineer
Atmel Corporation
________________________________
From: cmake-bounces at cmake.org [mailto:cmake-bounces at cmake.org] On Behalf Of Sarbak, Joseph
Sent: Friday, October 30, 2009 10:58 AM
To: cmake at cmake.org
Subject: [CMake] Does CMake 2.6-patch 4 support MS Visual Studio 2008?
Hello,
I am attempting to generated project files for MSVSS 2008 but Cmake aborts. Below is the error message. I would appreciate any advice to get this generation working.
Thank you.
Joe Sarbak
////////////////////////////// Error Message /////////////////////////
Check for working C compiler: C:/Program Files/Microsoft Visual Studio 9.0/VC/bin/cl.exe
Check for working C compiler: C:/Program Files/Microsoft Visual Studio 9.0/VC/bin/cl.exe -- broken
CMake Error at H:/dev/esp/third-party/cmake/cmake-2.6.4-win32-x86/share/cmake-2.6/Modules/CMakeTestCCompiler.cmake:32 (MESSAGE):
The C compiler "C:/Program Files/Microsoft Visual Studio 9.0/VC/bin/cl.exe"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: H:/dev/esp/trunk/main/models_build_win_msvc2008/CMakeFiles/CMakeTmp
Run Build Command:C:\PROGRA~1\MICROS~1.0\Common7\IDE\devenv.com
CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec
Microsoft (R) Visual Studio Version 9.0.30729.1.
Copyright (C) Microsoft Corp. All rights reserved.
Solution file
'H:\dev\esp\trunk\main\models_build_win_msvc2008\CMakeFiles\CMakeTmp\CMAKE_TRY_COMPILE.sln'
is from a previous version of this application and must be converted in
order to build in this version of the application. To convert the
solution, open the solution in this version of the application.
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
Configuring incomplete, errors occurred!
________________________________________
This E-Mail (including any attachments) may contain privileged or confidential information. It is intended only for the addressee(s) indicated above.
The sender does not waive any of its rights, privileges or other protections respecting this information.
Any distribution, copying or other use of this E-Mail or the information it contains, by other than an intended recipient, is not sanctioned and is prohibited.
If you received this E-Mail in error, please delete it and advise the sender (by return E-Mail or otherwise) immediately.
This E-Mail (including any attachments) has been scanned for viruses.
It is believed to be free of any virus or other defect that might affect any computer system into which it is received and opened.
However, it is the responsibility of the recipient to ensure that it is virus free.
The sender accepts no responsibility for any loss or damage arising in any way from its use.
E-Mail received by or sent from RBC Capital Markets is subject to review by Supervisory personnel.
Such communications are retained and may be produced to regulatory authorities or others with legal rights to the information.
IRS CIRCULAR 230 NOTICE: TO COMPLY WITH U.S. TREASURY REGULATIONS, WE ADVISE YOU THAT ANY U.S. FEDERAL TAX ADVISE INCLUDED IN THIS COMMUNICATION IS NOT INTENDED OR WRITTEN TO BE USED, AND CANNOT BE USED, TO AVOID ANY U.S. FEDERAL TAX PENALTIES OR TO PROMOTE, MARKET, OR RECOMMEND TO ANOTHER PARTY ANY TRANSACTION OR MATTER.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20091030/5504ab36/attachment-0001.htm>
More information about the CMake
mailing list