[Cmake] CMake error configuring a C++ application

William A. Hoffman billlist at nycap . rr . com
Wed, 26 Nov 2003 07:32:51 -0500


Look at the files CMakeError.log and CMakeBuild.log and try to figure out
why it failed.   

-Bill


At 04:52 AM 11/26/2002, Ignacio Berzal wrote:
>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
>