<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
Greetings,<br>
<br>
I am a complete beginner to CMake, so my problem might be trivial.
Nevertheless I did not find a solution yet.<br>
<br>
I am running Windows XP in a virtual machine on a linux host system.
Having CMake 2.6.4 installed I tried to run CMakeLists.txt from a
project I downloaded. <br>
<br>
My problem is, that CMake fails with message logs like this one:<br>
<span style="font-family: monospace;"></span>Check for working C
compiler: E:/Programme/Microsoft Visual Studio 10.0/VC/bin/cl.exe<br>
Check for working C compiler: E:/Programme/Microsoft Visual Studio
10.0/VC/bin/cl.exe -- broken<br>
CMake Error at E:/Programme/CMake
2.6/share/cmake-2.6/Modules/CMakeTestCCompiler.cmake:32 (MESSAGE):<br>
The C compiler "E:/Programme/Microsoft Visual Studio
10.0/VC/bin/cl.exe" is<br>
not able to compile a simple test program.<br>
<br>
It fails with the following output:<br>
<br>
Change Dir: F:/bin/mygui/CMakeFiles/CMakeTmp<br>
<br>
<br>
<br>
Run Build Command:E:\PROGRA~1\CMAKE2~1.6\bin\cmake.exe<br>
CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec<br>
<br>
<br>
<br>
<br>
<br>
CMake will not be able to correctly generate this project.<br>
Call Stack (most recent call first):<br>
CMakeLists.txt:12 (project)<br>
<br>
<br>
Configuring incomplete, errors occurred!<br>
<br>
I use Visual Studio 2010 for my project, so I specified the path to
cl.exe as shown in the log. As value for CMAKE_MAKE_PROGRAM I used the
path to cmake.exe<br>
<br>
Can anybody explain to me how to understand the log? Of course I
checked all paths and F:/bin/mygui/CMakeFiles/CMakeTmp does exist. I
don't know how to continue.<br>
<br>
Regards<br>
<br>
Michael<br>
</body>
</html>