[vtk-developers] stubs enabled vtk libraries
Steve Pieper
pieper at bwh.harvard.edu
Mon Nov 22 09:24:03 EST 2004
Hi Goodwin -
I've been interested in making a vtk-based starpack, but the shared
library issue seems to be a stopper; tclkit overloads the tcl 'load'
command by copying the shared library from the virtual file system into
a temp dir and does the load from there, but there's no automatic way
for it to know about the further dependencies.
Still, a way to build a stubs compatible vtk would be a nice addition.
-Steve
Goodwin Lawlor wrote:
> Hi All,
>
> I have some patches for CMakeLists.txt, cmVTKWrapTcl2Command.c,
> vtkTkRenderWindowWidget and vtkTkImageViewerWidget that allow the vtk tcl
> wrappers to be linked against the Tcl/Tk stubs libraries.
>
> The advantage is that the vtk tcl libraries can be loaded by tclkit, now the
> standard way to produce wrapped tcl applications (starpacks, cf
> http://www.equi4.com). Dependent libraries can't be wrapped, so
> vtkCommon.dll etc must be in the path somewhere.
>
> To produce a stubs enabled version of vtk, there's a TCL_TK_STUBS flag to be
> set in cmake and link against tclstub84.lib and tkstub84.lib.
>
> I dont know if this would be a worthwhile addition or more hassle than its
> worth.
>
> Goodwin
>
> _______________________________________________
> vtk-developers mailing list
> vtk-developers at vtk.org
> http://www.vtk.org/mailman/listinfo/vtk-developers
More information about the vtk-developers
mailing list