Re-2: [vtkusers] problems with VTK and C++ Builder
knut.bredemeier at technoteam.de
knut.bredemeier at technoteam.de
Wed Feb 12 09:06:19 EST 2003
Hello,
look here:
http://www.skippingmouse.co.uk/vtk/index.htm
Knut
-------- Original Message --------
Subject: Re: [vtkusers] problems with VTK and C++ Builder (12-Feb-2003 14:55)
From: kolarr at feec.vutbr.cz
To: knut.bredemeier at technoteam.de
> I'm sorry for this question. But, what is BVTK component?
> Thanks,Radim
>
> ----- Original Message -----
> From: <knut.bredemeier at technoteam.de>
> To: <kolarr at feec.vutbr.cz>
> Sent: Wednesday, February 12, 2003 10:20 AM
> Subject: Re: [vtkusers] problems with VTK and C++ Builder
>
>
> > Hello Radim,
> >
> > I had the same problems. I ignored the warnings but the crash after
> programm - termination was not nice. I use the component BVTK to handle the
> vtk - view. In the destructor - code of this component I made some changes
> to solve this problem. I don't exactly know why, but it works:
> >
> > New version:
> > ------------
> > if(FInteractor)
> > { FInteractor->Delete(); FInteractor = NULL; }
> > if(FRenderer) { FRenderer->SetRenderWindow(NULL); }
> > if(FRenderWindow) { FRenderWindow->Delete(); FRenderWindow = NULL; }
> > if(FRenderer) { FRenderer->Delete(); FRenderer = NULL; }
> >
> > Old version:
> > ------------
> > if (FInteractor) FInteractor->Delete();
> > if (FRenderer) { FRenderWindow->RemoveRenderer(FRenderer);
> FRenderer->Delete(); }
> > if (FRenderWindow) FRenderWindow->Delete();
> >
> > Knut Bredemeier
> >
> > --
> > Dipl.-Ing. Knut Bredemeier
> > TechnoTeam Bildverarbeitung GmbH
> > Werner-von-Siemens-Straße 10
> > 98693 Ilmenau
> >
> > Tel.: +49 3677 46240
> > eMail: knut.bredemeier at technoteam.de
> >
> >
> >
> > Original Message processed by Tobit InfoCenter
> > Subject: [vtkusers] problems with VTK and C++ Builder (12-Feb-2003 8:15)
> > From: kolarr at feec.vutbr.cz
> > To: vtkusers at public.kitware.com
> >
> >
> > Hi all,
> > could you please help me with this problem...
> >
> > I've compiled (using Cmake) the VTK source for Borland Builder C++. I've
> created *.lib files and add to the project.
> >
> > Everything seems to be OK. But several problems arise:
> >
> > - warning messages during compilation
> > [C++ Warning] vtkDataArray.h(105): W8008 Condition is always false
> > [C++ Warning] vtkDataArray.h(105): W8008 Condition is always false
> > [C++ Warning] vtkFieldData.h(155): W8060 Possibly incorrect
> assignment
> > [C++ Warning] vtkProperty.h(199): W8008 Condition is always false
> > [C++ Warning] vtkProperty.h(199): W8008 Condition is always false
> > [C++ Warning] vtkProperty2D.h(108): W8008 Condition is always false
> > [C++ Warning] vtkProperty2D.h(108): W8008 Condition is always false
> > [C++ Warning] vtkRenderWindow.h(326): W8008 Condition is always
> false
> > [C++ Warning] vtkRenderWindow.h(326): W8008 Condition is always
> false
> > [C++ Warning] vtkLocator.h(98): W8008 Condition is always false
> > [C++ Warning] vtkLocator.h(98): W8008 Condition is always false
> > [C++ Warning] vtkPointLocator.h(90): W8008 Condition is always false
> > [C++ Warning] vtkPointLocator.h(90): W8008 Condition is always false
> > [C++ Warning] vtkRenderWindowInteractor.h(257): W8008 Condition is
> always false
> > [C++ Warning] vtkRenderWindowInteractor.h(257): W8008 Condition is
> always false
> > But I suppose it doesn't matter(?)
> >
> > - After creating exe file, it asks for DLL file. Why? I use the LIB files
> (static library) during compilation and linking.
> >
> > - And last and the worse error is, that after closing the interactive
> render window, I get error message:
> > "Access violation at adress 00c9c560" in module VTKRENDERING.DLL. Read of
> adrress 0260A8C6"
> >
> > Well, I'm writing all these problems, because they could be connected...
> > Could you please help me?
> > Thanks, Radim
> >
> >
>
To: vtkusers at public.kitware.com
Cc: kolarr at feec.vutbr.cz
More information about the vtkusers
mailing list