Hi <br> i was using cmake to build cmake source code<br>i am using windows -xp with borland 5.5 compiler and the version of cmake i was using is cmake 2.4 patch 7.<br> iam getting this error can any one help please.
<br><br>Determining if the C compiler works failed with the following output:<br>MAKE Version 5.2 Copyright (c) 1987, 2000 Borland<br><br> make -f CMakeFiles\cmTryCompileExec.dir/build.make -l -o CMakeFiles\cmTryCompileExec.dir\build
<br><br>MAKE Version 5.2 Copyright (c) 1987, 2000 Borland<br><br> "C:\Program Files\CMake 2.4\bin\cmake.exe" -E cmake_progress_report D:\builds\CMakeFiles\CMakeTmp\CMakeFiles 1<br><br>Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.obj
<br><br> C:\Borland\BCC55\Bin\bcc32.exe @MAKE0000.@@@<br><br>Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland<br><br>D:\builds\CMakeFiles\CMakeTmp\testCCompiler.c:<br><br>Fatal F1003 D:\builds\CMakeFiles\CMakeTmp\testCCompiler.c 2: Error directive: "The CMAKE_C_COMPILER is set to a C++ compiler"
<br><br>*** 1 errors in Compile ***<br><br><br><br>** error 1 ** deleting CMakeFiles\cmTryCompileExec.dir\testCCompiler.obj<br><br><br><br>** error 1 ** deleting cmTryCompileExec\fast<br><br><br> thanks in advance.<br>