[CMake] Compile Eror

Bill Hoffman bill.hoffman at kitware.com
Wed Dec 23 14:12:27 EST 2009


Dead Flowers wrote:
>  i was install CMake for compile gammu with Borland C++  and i get error messsges like this
> :
> 
> The C compiler identification is Borland
> Check for working C compiler: C:/Borland/BCC55/Bin/bcc32.exe
> CMake Error: Generator: execution of make failed. Make command was: make
> "cmTryCompileExec\fast"
> Check for working C compiler: C:/Borland/BCC55/Bin/bcc32.exe -- broken
> CMake Error at C:/Program Files/CMake
> 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:50 (MESSAGE):
> The C compiler "C:/Borland/BCC55/Bin/bcc32.exe" is not able to compile a
> simple test program.
> 
> It fails with the following output:
> 
> Change Dir: C:/Program Files/CMake 2.8/gammu/CMakeFiles/CMakeTmp
> 
> Run Build Command:make "cmTryCompileExec\fast"
> 
> The system cannot find the file specified
> 
> Generator: execution of make failed.  Make command was: make
> "cmTryCompileExec\fast"
> 
> CMake will not be able to correctly generate this project.
> Call Stack (most recent call first):
> CMakeLists.txt:9 (project)
> 
> Configuring incomplete, errors occurred!
> 
> 
> 
> Any one can help me??
> 

Can you compile and link a test program without CMake?  Is the borland 
make in your PATH?   You can run cmake --debug-trycompile, then cd into 
the CMakeTmp directory and run make by hand.  Looks like it is a bad 
install of the borland compiler.

-Bill

-- 
Bill Hoffman
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
bill.hoffman at kitware.com
http://www.kitware.com
518 881-4905 (Direct)
518 371-3971 x105
Fax (518) 371-4573


More information about the CMake mailing list