<div dir="ltr">Can you compile a simple C program directly (without cmake)?<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Aug 2, 2013 at 3:24 PM, Bo Berglund <span dir="ltr"><<a href="mailto:bo.berglund@gmail.com" target="_blank">bo.berglund@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Fri, 02 Aug 2013 19:22:10 +0200, Bo Berglund<br>
<<a href="mailto:bo.berglund@gmail.com">bo.berglund@gmail.com</a>> wrote:<br>
<br>
>On Mon, 29 Jul 2013 14:30:40 -0400, Robert Maynard<br>
><<a href="mailto:robert.maynard@kitware.com">robert.maynard@kitware.com</a>> wrote:<br>
><br>
>>If my memory is correct we fixed some XE4 issues for the 5.8 release.<br>
>>I don't know if that was for the new 64bit compiler they have (clang<br>
>>based) or the old 32bit compiler.<br>
>><br>
>The situation is as follows:<br>
>I need to set up a working development IDE for the application that<br>
>was developed using BDS2006 (C++ Builder). To do that I have to<br>
>compile VTK and build the IDE package vtkBorlandRenderWindowPkg.<br>
>At the time the developer left the company VTK he used VTK version<br>
>5.0.2, so I have tried to get everything as close to that process as<br>
>possible.<br>
>The CMake used was 2.8.8 so that is what I also used.<br>
>I can do this with BDS2006 but it is a long and tedious path to set it<br>
>all up (mainly because I don't understand all the workings of<br>
>CMake...).<br>
><br>
>But now I need to move on to the latest compiler, RAD Studio XE4, and<br>
>I have tried to follow the leftover how-to:<br>
>- Check out tag VTK-5-0-2 of VTK from <a href="http://public.kitware.com" target="_blank">public.kitware.com</a> via cvs<br>
>- Set up environment variables for the souce directory (VTKSRC) and<br>
>output binaries (VTKBIN).<br>
>- Start CMakeGui and select Borland makefile and the source folder.<br>
><br>
>At this point I get an error from CMake: "Error in configuration<br>
>process, project files may be invalid"...<br>
><br>
>What does that mean and what can I do about it?<br>
<br>
</div></div>I hit OK and investigated further.<br>
This is what CMake said on a Win7X64 PC with RAD Studio XE4 installed:<br>
------------------------------------------------------------<br>
The C compiler identification is Embarcadero 6.60.81>1<br>
The CXX compiler identification is Embarcadero 6.60.81>1<br>
Check for working C compiler: C:/Programs/Embarcadero/RAD<br>
Studio/11.0/bin/bcc32.exe<br>
Check for working C compiler: C:/Programs/Embarcadero/RAD<br>
Studio/11.0/bin/bcc32.exe -- broken<br>
CMake Error at<br>
C:/Programs/CMake/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52<br>
(MESSAGE):<br>
The C compiler "C:/Programs/Embarcadero/RAD<br>
Studio/11.0/bin/bcc32.exe" is<br>
not able to compile a simple test program.<br>
<br>
It fails with the following output:<br>
<br>
Change Dir: C:/Engineering/VTKBIN/CMakeFiles/CMakeTmp<br>
<br>
<br>
<br>
Run Build Command:make "cmTryCompileExec2564975305\fast"<br>
<br>
MAKE Version 5.4 Copyright (c) 1987, 2010 Embarcadero Technologies,<br>
Inc.<br>
<br>
make -f CMakeFiles\cmTryCompileExec2564975305.dir\build.make -l -o<br>
CMakeFiles\cmTryCompileExec2564975305.dir\build<br>
<br>
MAKE Version 5.4 Copyright (c) 1987, 2010 Embarcadero Technologies,<br>
Inc.<br>
<br>
C:\Programs\CMake\bin\cmake.exe -E cmake_progress_report<br>
C:\Engineering\VTKBIN\CMakeFiles\CMakeTmp\CMakeFiles 1<br>
<br>
Building C object<br>
CMakeFiles/cmTryCompileExec2564975305.dir/testCCompiler.c.obj<br>
<br>
C:\Programs\EMBARC~1\RADSTU~1\11.0\bin\bcc32.exe -tR @MAKE0000.@@@<br>
<br>
Embarcadero C++ 6.60 for Win32 Copyright (c) 1993-2013 Embarcadero<br>
Technologies, Inc.<br>
<br>
C:\Engineering\VTKBIN\CMakeFiles\CMakeTmp\testCCompiler.c:<br>
<br>
Linking C executable cmTryCompileExec2564975305.exe<br>
<br>
C:\Programs\EMBARC~1\RADSTU~1\11.0\bin\bcc32.exe -tR<br>
-ecmTryCompileExec2564975305.exe @MAKE0002.@@@<br>
<br>
Embarcadero C++ 6.60 for Win32 Copyright (c) 1993-2013 Embarcadero<br>
Technologies, Inc.<br>
<br>
Turbo Incremental Link 6.50 Copyright (c) 1997-2013 Embarcadero<br>
Technologies, Inc.<br>
<br>
Fatal: Expected an option: LC:\Programs\Embarcadero\RAD<br>
Studio\11.0\lib<br>
<br>
** error 1 ** deleting cmTryCompileExec2564975305.exe<br>
<br>
** error 1 ** deleting cmTryCompileExec2564975305\fast<br>
<br>
CMake will not be able to correctly generate this project.<br>
Call Stack (most recent call first):<br>
CMakeLists.txt:2 (PROJECT)<br>
<br>
Configuring incomplete, errors occurred!<br>
----------------------------------------------------------------<br>
<br>
What can I do to fix this, which I don't understand?????<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Bo Berglund<br>
Developer in Sweden<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</div>