[vtkusers] vtk4.0 problem with TCL/TK package require on SUN

Keator, David dbkeator at uci.edu
Wed Jul 17 21:06:00 EDT 2002


 
When writing a procedure in TCL/TK to use VTK packages, I include the line
package require vtk
but when I run the procedure I get the following error:
::vtk::load_component: vtkCommonTCL could not be found.
I'm using vtk 4.0 on a SUN box.
 
If I instead remove the package require vtk line and instead run the script
with vtk filename.tcl it works fine.
 
Any ideas?  I've set the TCLLIBPATH and LD_LIBRARY_PATH  variables...
 
Thanks,
 
 
David Keator
Specialist
Brain Imaging Center
Psychiatry and Human Behavior
University of California, Irvine
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20020717/d4cfa2d6/attachment.htm>


More information about the vtkusers mailing list