[vtkusers] vtk and plugins

John Biddiscombe jbiddiscombe at skippingmouse.co.uk
Thu Feb 6 06:52:29 EST 2003


Florian,

You'll need to ensure that you and your plugin-witers use the same version
of vtk. A stable release such as 4.0, 4.2 etc should be agreed upon.

You'll nede to ensure you and your plugin-writers use the same compiler.
Inheriting classes from a dll compiled with microsoft will not work with a
borland compiler etc.

You'll need to ensure that link options are compatible. Most importantly is
the memory manager used (heap). If objects are allocated in an app and freed
in a plugin or vice versa, you'll get monstrous results. Best if the
plugin-writers are compiling using dll's and libs provided with the main
app.

JB


----- Original Message -----
From: "Florian Schmidt" <mista.tapas at gmx.net>
To: <vtkusers at public.kitware.com>
Sent: Wednesday, February 05, 2003 1:16 PM
Subject: [vtkusers] vtk and plugins


>
> Hi,
>
> i was wondering if there is trouble to be expected when i chose to use
> vtk-objects inside of a dynamically loaded class (plugin) and in the
> main application? Wil the reference counting and stuff still work?
>
> Imagine a Volumeloader which is realised as a plugin and makes use of
> vtk objects to accomplish this task.. And the main applicatin makes use
> of vtk objects for visualisation..
>
> Will i have to expect issues if a plugin developer uses a different
> version of vtk than the main program?
>
> TIA Florian Schmidt
>
> --
> mista.tapas at gmx.net
> http://www.arted.biz/mista.tapas
> _______________________________________________
> 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