[vtkusers] using vtk in Borland Builder

David Bourg davidbourg at cox.net
Thu Oct 2 22:37:26 EDT 2003


I just recently went through the same problem as Johnson and was likewise
advised to rebuild the libs/dlls using Borland C++ Builder 6.  I went ahead
and did just that seemingly with success.  However, I think there's
something wrong with the resulting build.

I can create applications with VTK in Builder, but I encounter a crash
whenever I try to use a vtkBMPReader to load a texture for use on some
primitive (like a sphere).  I've narrowed it down to some trouble actually
reading the BMP file, though I can't figure out exactly what the trouble is.
Interestingly, my same code works fine when using Microsoft Visual C++ with
the appropriate libs/dlls for that compiler.  There's something wrong with
my Borland build apparently, although no errors were reported when I
actually did the build.

Has anyone encountered this problem?

Thanks,

David

> -----Original Message-----
> From: vtkusers-admin at vtk.org [mailto:vtkusers-admin at vtk.org]On Behalf Of
> dean.inglis at camris.ca
> Sent: Thursday, October 02, 2003 8:23 PM
> To: vtkusers at vtk.org
> Subject: Re: [vtkusers] using vtk in Borland Builder
>
>
> Johnson,
>
> - did you compile VTK as shared libs/dlls using Borland 6?
> - ignore the messages about lines too long etc. when
> adding the libs
>
> You need to understand a bit about Borland Builder packages
> before you can understand how to make this work.  Try working
> through an example package project supplied by Borland first.
>
> I can assure you from experience that both Borland C++ Builder 5
> and 6 can build this render window component.
>
> Dean
>
> _______________________________________________
> 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://www.vtk.org/mailman/listinfo/vtkusers




More information about the vtkusers mailing list