[vtkusers] Can VTK be used with Codegear XE4 compilers???

David Gobbi david.gobbi at gmail.com
Fri Aug 2 15:36:19 EDT 2013


I have zero familiarity with bcc, but stripping the error log to its
essentials, the following command was called:

bcc32.exe -tR -ecmTryCompileExec2564975305.exe @MAKE0002.@@@

It failed because it ran into this option:

LC:\Programs\Embarcadero\RADStudio\11.0\lib

Maybe bcc requires a space after the "L". I don't see the "-L" option
on the command line, so it must be inside the response file MAKE0002.
So if you could send the contents of that file, someone who has
experience with bcc can check to make sure the options are legal.

 - David


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



More information about the vtkusers mailing list