[vtk-developers] stubs enabled vtk libraries

Goodwin Lawlor goodwin.lawlor at ucd.ie
Mon Nov 22 08:59:57 EST 2004


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




More information about the vtk-developers mailing list