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

Stefan Bruckner stefan.bruckner at chello.at
Thu Aug 29 01:13:32 EDT 2002


Thanks for you help, I have managed to build VTK with Kylix (which also
involved some source changes, because bc++ handles some things very
differently than "usual" UNIX compilers ... additionally the command
line syntax of the compiler is so much different from what cmake expects
that manually editing the generated makefiles was the only solution I
found).

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

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) ...

Thanks again for your support!

--
Stefan Bruckner


Am Mit, 2002-08-28 um 15.19 schrieb William A. Hoffman:
> This does not look like any of those problems.
> It looks like:
> 
> bcc++ mkg3states.o -L/usr/src/packages/SOURCES/VTK/bin -lpthread -ldl
> -lm -Wl,-rpath,/usr/src/packages/SOURCES/VTK/bin  -o
> /usr/src/packages/SOURCES/VTK/bin/mkg3states
> 
> Is trying to compile a .cpp file and not create an executable like one
> would expect.
> 
> Can you try building an executable from the command line?
> 
> Start with the above command, and start removing things until it works.
> Does this work:
> bcc++ mkg3states.o -o mkg3states
> 
> What on the command line is causing it to fail?
> 
> -Bill
> 
> 
> At 11:55 PM 8/27/2002 +0200, Stefan Bruckner wrote:
> >I have tried the -tD flag for building shared libraries and the -VC flag
> >for position independent code, but when I build I always get:
> >
> >Borland C++ 5.7 Open Edition Copyright (c) 1987, 2002 Borland
> >/usr/src/packages/SOURCES/VTK/Utilities/tiff/mkg3states.c:
> >Warning W8065 /usr/src/packages/SOURCES/VTK/Utilities/tiff/mkg3states.c
> >383: Call to function 'getopt' with no prototype in function main
> >bc++   mkg3states.o  -L/usr/src/packages/SOURCES/VTK/bin -lpthread -ldl
> >-lm -Wl,-rpath,/usr/src/packages/SOURCES/VTK/bin  -o
> >/usr/src/packages/SOURCES/VTK/bin/mkg3states
> >Borland C++ 5.7 Open Edition Copyright (c) 1987, 2002 Borland
> >Error E2194: Could not find file
> >'/usr/src/packages/SOURCES/VTK/bin/mkg3states.cpp'
> 





More information about the vtkusers mailing list