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

Bo Berglund bo.berglund at gmail.com
Fri Aug 2 17:51:11 EDT 2013


On Fri, 2 Aug 2013 14:26:57 -0600, David Gobbi <david.gobbi at gmail.com>
wrote:

>On Fri, Aug 2, 2013 at 2:00 PM, Bo Berglund <bo.berglund at gmail.com> wrote:
>> Made a test by downloading the latest CMake (2.8.11.2) and used it
>> instead.
>> Same result, error on compiler check....
>
>Following up on my suspicion that the "-L" option is the problem,
>there are a couple simple experiments that you can do.
>
>First, try compiling a simple "hello world" program with
>-LC:\Programs\Embarcadero\RADStudio\11.0\lib as an option to the
>compiler to see if bcc complains about the -L option.  If it does,
>then try compiling with a space after the -L to see if bcc requires a
>space after options.
>
>If bcc works after you add a space after the -L, then the next step is
>to modify your copy of cmake.  Compilation with bcc is controlled by
>the following file within your cmake distrubution:
>
>Modules/Platform/Windows-Embarcadero.cmake
>
>Inside that file, you can fine this line:
>
>SET(CMAKE_LIBRARY_PATH_FLAG "-L")
>
>and change it to this (i.e. add the space)
>
>SET(CMAKE_LIBRARY_PATH_FLAG "-L ")
>
>If that allows you to build VTK, then you can share the fix with the
>CMake developers.
>
> - David
>_______________________________________________

I will try to do that but I think it will not work because if I look
at the cfg files in the compiler bin dir I see lines like this for
example in bcc32.cfg:

-I"C:\Programs\Embarcadero\RAD
Studio\11.0\include";"C:\Programs\Embarcadero\RAD
Studio\11.0\include\windows\crtl";"C:\Programs\Embarcadero\RAD
Studio\11.0\include\dinkumware";"C:\Programs\Embarcadero\RAD
Studio\11.0\include\windows\rtl";"C:\Programs\Embarcadero\RAD
Studio\11.0\include\windows\vcl";"C:\Programs\Embarcadero\RAD
Studio\11.0\include\windows\sdk"
-I"C:\Programs\Embarcadero\RAD
Studio\11.0\include\windows";"C:\Programs\Embarcadero\RAD
Studio\11.0\include\windows\vcl";"C:\Programs\Embarcadero\RAD
Studio\11.0\include\windows\rtl";"C:\Programs\Embarcadero\RAD
Studio\11.0\include\windows\crtl";"C:\Programs\Embarcadero\RAD
Studio\11.0\include\windows\sdk";"C:\Programs\Embarcadero\RAD
Studio\11.0\include\dinkumware"
-L"C:\Programs\Embarcadero\RAD
Studio\11.0\lib\win32\release";"C:\Programs\Embarcadero\RAD
Studio\11.0\lib\win32\release\psdk"

To me it looks like there is no space between L and the data.

I am not very good at C++ (I am really a Delphi Pascal person) so I am
not sure I can compile the simple program. Will have to investigate
how it can be done. And what the source file should look like...


-- 
Bo Berglund
Developer in Sweden




More information about the vtkusers mailing list