[Cmake] CMake error configuring a C++ application

Ignacio Berzal gva08 at elai.upm.es
Tue Nov 26 04:52:47 EST 2002


Hello.
I have a problem with CMake and I would like you help me.
My problem appears in the execution of a C++ application using CMake. I introduce the location of the source code and the place where the binaries will be built;Next, I press "configure" button, getting an "error window" in which appears the following message:
 

The C compiler "cl" is not able to compile a simple test program.
It fails in the following output:
---------------------------Configuration: cmTryCompileExec - Win32 Debug--------------------------
Building Custom Rule C:\Nacho\Ejem\Ejemplo_1\CMakeTmp\CMakeList.txt
-- Check for working C compiler: C:/Archivos de programa/Microsoft Visual Studio/VC98/BIN/cl.exe
-- Check for working C compiler: C:/Archivos de programa/Microsoft Visual Studio/VC98/BIN/cl.exe -- broken
The C compiler "C:/Archivos de programa/Microsoft Visual Studio/VC98/BIN/cl.exe"
 is not able to compile a simple test program
It fails in the following output:
---------------------------Configuration: cmTryCompileExec - Win32 Debug--------------------------

Building Custom Rule C:\Nacho\Ejem\Ejemplo_1\CMakeTmp\CMakeList.txt
-- Check for working C compiler: C:/Archivos de programa/Microsoft Visual Studio/VC98/BIN/cl.exe
-- Check for working C compiler: C:/Archivos de programa/Microsoft Visual Studio/VC98/BIN/cl.exe -- broken


Do you know why I get this error? How can I resolve it?
Thank you



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20021126/89111902/attachment.html>


More information about the CMake mailing list