[CMake] "The CMAKE_C_COMPILER is set to a C++ compiler"
pradeep kumar
pradeep.y5mc at gmail.com
Wed Aug 22 01:36:49 EDT 2007
Hi
i was using cmake to build cmake source code
i am using windows -xp with borland 5.5 compiler and the version of
cmake i was using is cmake 2.4 patch 7.
iam getting this error can any one help please.
Determining if the C compiler works failed with the following output:
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
make -f CMakeFiles\cmTryCompileExec.dir/build.make -l -o
CMakeFiles\cmTryCompileExec.dir\build
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
"C:\Program Files\CMake 2.4\bin\cmake.exe" -E cmake_progress_report
D:\builds\CMakeFiles\CMakeTmp\CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.obj
C:\Borland\BCC55\Bin\bcc32.exe @MAKE0000.@@@
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
D:\builds\CMakeFiles\CMakeTmp\testCCompiler.c:
Fatal F1003 D:\builds\CMakeFiles\CMakeTmp\testCCompiler.c 2: Error
directive: "The CMAKE_C_COMPILER is set to a C++ compiler"
*** 1 errors in Compile ***
** error 1 ** deleting CMakeFiles\cmTryCompileExec.dir\testCCompiler.obj
** error 1 ** deleting cmTryCompileExec\fast
thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20070822/5ab1bb54/attachment.htm
More information about the CMake
mailing list