[Insight-users] how to load package in tcl for itk

Brad King brad.king at kitware.com
Thu, 25 Mar 2004 09:03:45 -0500


wavelethe at pku.org.cn wrote:

> after compiling SimpleLevelSetsExample seccessfully,
> I was told that "Result:can't find package vtkinteraction" when i run View2DOutputInVTK.tcl in ASED 
> Errorinfo: can't find package vtkinteraction while execting
> "package require vtkinteraction" invoked from within "interp eval $interp $command"
> 
> I am newbie and learning them, and i need some direction
> I have searched the file named "vtkinteraction", but only found one in vtkwrap directory

This example depends on VTK for visualization.  In order to run it 
correctly, you need to have the VTK tcl wrappers in your TCLLIBPATH. 
You should set the TCLLIBPATH variable to point at the Wrapping/Tcl 
directory in the VTK build tree.

-Brad