[CMake] Compile Eror

Dead Flowers d34dflowers at yahoo.com
Thu Dec 24 10:39:56 EST 2009


i was try compile in borland simple program test.c and successful. My path borland is C:/Borland/BCC55/Bin/bcc32.exe and i want to compile my source code gammu in C:\Borland\BCC55\Proyek\gammu



----- Original Message ----
From: Bill Hoffman <bill.hoffman at kitware.com>
To: Dead Flowers <webcreatif at yahoo.com>
Cc: cmake at cmake.org
Sent: Thu, December 24, 2009 2:12:27 AM
Subject: Re: [CMake] Compile Eror

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
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake



      


More information about the CMake mailing list