[vtkusers] Re: Re: Re: Re: Re: Building VTK with Kylix bc++

Stefan Bruckner stefan.bruckner at chello.at
Thu Aug 29 11:59:51 EDT 2002


> Whats ABI?

ABI means Application Binary Interface defines, among other things,
rules for name decoration. Kylix bc++ and gcc do not have compatible
ABIs, which basically means that you cannot link a library produced by
gcc with your Kylix programm and vice versa. Note that is is only true
for C++, you can link C libraries with you Kylix programs. This is the
reason why I tried recompiling VTK with bc++. You can also refer to the
Borland newsgroups for further information on this isse (the Kylix
documentation doesn't even mention it!). Also, I believe that is only
true for the C++ compiler, the Delphi compiler does not have these
problems.

> Could you please elaborate? as a BCB6 user who's been working with vtk

> for many years, I can't see why Kylix is going to > be ruled out. What

> problems do you refer to

Well, first it turned out to be rather difficult (IMO impossible) to
configure the current version if cmake to produce correct makefiles for
the Borland tools. Secondly, some source code changes were needed
because of non-unix like behaviour of the compiler (although this might
be useful for porting windows apps to linux). Thirdly, the compiled
libraries still have some problem with memory allocation, which I could
not figure out yet.

I have spent two weeks now evaluating the use of Kylix in an upcoming
project which also uses VTK and lots of other existing source code. From
my point of view it is more feasable to use another platform for the
GUI, which has proven to work well in combination with VTK (like QT). I
do think Kylix is a very good RAD tool, but for what we want to do it
seems that it just isn't ready yet. Maybe Kylix 4 will be ...

However, if you try to get VTK to work with Kylix please stay in touch
with me. Maybe you'll be more sucessful than I was.

--
Regards,
Stefan Bruckner


-----Ursprüngliche Nachricht-----
Von: vtkusers-admin at public.kitware.com
[mailto:vtkusers-admin at public.kitware.com] Im Auftrag von John
Biddiscombe
Gesendet: Donnerstag, 29. August 2002 12:06
An: Stefan Bruckner; vtkusers at public.kitware.com
Betreff: Re: [vtkusers] Re: Re: Re: Re: Building VTK with Kylix bc++



> However, since several other issues have arisen I have found that
> integrating VTK and Kylix is probably not feasable at the moment ...

Could you please elaborate? as a BCB6 user who's been working with vtk
for many years, I can't see why Kylix is going to be ruled out. What
problems do you refer to

> For other users who want to try this, I suggest to wait till bc++ and
> gcc produce ABI compatible libraries (which might take some time) ...

Whats ABI?

thanks

JB


_______________________________________________
This is the private VTK discussion list. 
Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers




More information about the vtkusers mailing list