I know, that my problem is from my old compiler, but mayby someone can help me or told me, what should I do?<br />
<br />
BR, Krzysiek<br />
<br /><br />Dnia 7 października 2012 20:21 oneiro <oneiro@o2.pl> napisał(a):<br /><br /><br />
<blockquote style="font-size: 12px; padding-left: 1em; margin-left: 1em; margin-bottom: 0px; border-left: #ccc 2px solid;">
<div id="msg">
<div id="msg-body">Hi all,<br /> <br />I'm beginner user of CMake and try compile some code. Of course I've error. <br /> <br />After read help I found problem - question is simple - does CMake (cmake-2.8.9-win32-x86.exe) support Borland C/C++ Compiler v5.60 (form CBoland 6)? Theoretical yes, but practical no (form me).<br /> <br />I made CMakeLists.txt, with contain 1 simple line:<br /> <br />PROJECT(test)<br /> <br />and I get this:<br /> <br />-- The C compiler identification is Borland 5.60<br />-- The CXX compiler identification is Borland 5.60<br />-- Check for working C compiler: D:/Program Files/Borland/CBuilder6/Bin/bcc32.exe<br />-- Check for working C compiler: D:/Program Files/Borland/CBuilder6/Bin/bcc32.exe -- broken<br />CMake Error at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):<br /> The C compiler "D:/Program Files/Borland/CBuilder6/Bin/bcc32.exe" is not<br /> able to compile a simple test program.<br /><br /> It fails with the following output:<br /><br /> Change Dir: G:/Genetyka/test/CMakeFiles/CMakeTmp<br /><br /> <br /><br /> Run Build Command:make "cmTryCompileExec813240074\fast"<br /><br /> MAKE Version 5.2 Copyright (c) 1987, 2000 Borland<br /><br /><br /> make -f CMakeFiles\cmTryCompileExec813240074.dir\build.make -l -o<br /> CMakeFiles\cmTryCompileExec813240074.dir\build<br /><br /><br /> MAKE Version 5.2 Copyright (c) 1987, 2000 Borland<br /><br /><br /> "C:\Program Files\CMake 2.8\bin\cmake.exe" -E cmake_progress_report<br /> G:\Genetyka\test\CMakeFiles\CMakeTmp\CMakeFiles 1<br /><br /><br /> CMake Error: cmake version 2.8.9<br /><br /><br /> Usage: C:\PROGRA~1\CMake -E [command] [arguments ...]<br /><br /><br /> Available commands:<br /><br /><br /> chdir dir cmd [args]... - run command in a given directory<br /><br /> compare_files file1 file2 - check if file1 is same as file2<br /><br /> copy file destination - copy file to destination (either file or directory)<br /><br /> copy_directory source destination - copy directory 'source' content to directory 'destination'<br /><br /> copy_if_different in-file out-file - copy file if input has changed<br /><br /> echo [string]... - displays arguments as text<br /><br /> echo_append [string]... - displays arguments as text but no new line<br /><br /> environment - display the current environment<br /><br /> make_directory dir - create a directory<br /><br /> md5sum file1 [...] - compute md5sum of files<br /><br /> remove [-f] file1 file2 ... - remove the file(s), use -f to force it<br /><br /> remove_directory dir - remove a directory and its contents<br /><br /> rename oldname newname - rename a file or directory (on one volume)<br /><br /> tar [cxt][vfz][cvfj] file.tar file/dir1 file/dir2 ... - create a tar archive<br /><br /> time command [args] ... - run command and return elapsed time<br /><br /> touch file - touch a file.<br /><br /> touch_nocreate file - touch a file but do not create it.<br /><br /><br /> Available on Windows only:<br /><br /><br /> comspec - on windows 9x use this for RunCommand<br /><br /> delete_regv key - delete registry value<br /><br /> write_regv key value - write registry value<br /><br /><br /> <br /><br /><br /> <br /><br /><br /> ** error 1 ** deleting<br /> CMakeFiles\cmTryCompileExec813240074.dir\testCCompiler.c.obj<br /><br /><br /> <br /><br /><br /> ** error 1 ** deleting cmTryCompileExec813240074\fast<br /><br /><br /> <br /><br /> <br /><br /> CMake will not be able to correctly generate this project.<br />Call Stack (most recent call first):<br /> CMakeLists.txt:1 (Project)<br /><br /><br />-- Configuring incomplete, errors occurred!<br /> <br />---------------------------------------------------------------------------------<br /> <br /> <br />Could me anybody help, say why this no work, why test program not work with this complier?<br /> <br /> <br />PS. Complier in IDE Borland works very good.<br /> <br />BR, Krzysiek<br /> </div>
</div>
</blockquote>
<br /><br /><br />