[vtkusers] Building VTK with Kylix bc++
Stefan Bruckner
stefan.bruckner at chello.at
Tue Aug 27 16:19:33 EDT 2002
have tried that, but the issue seems zu be a little more complicated.
The Borland compiler doesn't understand many of the gcc options used to
build the shared libraries. For some of these I wasn't able to find
equivalents for the settings. I have tried some things but it always
fails to build correctly ...
These are the settings that seem particularly problematic:
CMAKE_CXX_MODULE_BUILD_FLAGS -shared
CMAKE_CXX_MODULE_LINK_FLAGS -rdynamic
CMAKE_CXX_SHLIB_BUILD_FLAGS -shared
CMAKE_CXX_SHLIB_CFLAGS -fPIC
CMAKE_CXX_SHLIB_LINK_FLAGS -rdynamic
CMAKE_CXX_SHLIB_RUNTIME_FLAG -Wl,-rpath,
btw. it's called bc++, probably because of a naming conflict with
Bruce's C Compiler (bcc) on a lot of Linux distros ...
--
Thanks,
Stefan
-----Ursprüngliche Nachricht-----
Von: vtkusers-admin at public.kitware.com
[mailto:vtkusers-admin at public.kitware.com] Im Auftrag von William A.
Hoffman
Gesendet: Dienstag, 27. August 2002 21:45
An: Stefan Bruckner; vtkusers at public.kitware.com
Betreff: Re: [vtkusers] Building VTK with Kylix bc++
I would trying using this compiler like any other unix compiler:
setenv CXX bcc
setenv CC bcc
(I am assuming the klyix compiler is called bcc from the command line,
but it might have some other name.)
Then run ccmake ../path/to/vtk.
-Bill
At 09:40 PM 8/27/2002 +0200, Stefan Bruckner wrote:
Hi!
I'm trying to compile VTK with the Kylix 3 bc++
(http://www.borland.com/kylix)
compiler, but I can't get it to work. Has anyone tried this yet and is
willing to share his or her experience? (cmake settings would be very
much
appreciated)
Also, cmake does support Borland C++ Builder in its Windows version.
But these settings are
not displayed unless you have C++ Builder installed (which I have not).
Maybe someone can look at these settings and post them here. This might
also
give me some hints ...
Thanks a lot!
--
Stefan Bruckner
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20020827/4dcafb0e/attachment.htm>
More information about the vtkusers
mailing list