Hi <br>&nbsp;&nbsp; i was using cmake to build cmake source code<br>i am using&nbsp; windows -xp&nbsp; with borland 5.5&nbsp; compiler&nbsp; and the version of cmake&nbsp; i was using is cmake 2.4 patch 7.<br>&nbsp;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&nbsp; Copyright (c) 1987, 2000 Borland<br><br>&nbsp;&nbsp; &nbsp;make -f CMakeFiles\cmTryCompileExec.dir/build.make -l -o&nbsp; CMakeFiles\cmTryCompileExec.dir\build
<br><br>MAKE Version 5.2&nbsp; Copyright (c) 1987, 2000 Borland<br><br>&nbsp;&nbsp; &nbsp;&quot;C:\Program Files\CMake 2.4\bin\cmake.exe&quot; -E cmake_progress_report D:\builds\CMakeFiles\CMakeTmp\CMakeFiles 1<br><br>Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.obj
<br><br>&nbsp;&nbsp; &nbsp;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: &quot;The CMAKE_C_COMPILER is set to a C++ compiler&quot;
<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>&nbsp;thanks in advance.<br>