<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4522.1800" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=239530101-18072002><FONT face=Arial size=2>When writing a
procedure in TCL/TK to use VTK packages, I include the line <STRONG>package
require vtk</STRONG></FONT></SPAN></DIV>
<DIV><SPAN class=239530101-18072002><FONT face=Arial size=2>but when I run the
procedure I get the following error: ::vtk::load_component: vtkCommonTCL
could not be found.</FONT></SPAN></DIV>
<DIV><SPAN class=239530101-18072002><FONT face=Arial size=2>I'm using vtk 4.0 on
a SUN box.</FONT></SPAN></DIV>
<DIV><SPAN class=239530101-18072002><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=239530101-18072002><FONT face=Arial size=2>If I instead remove
the package require vtk line and instead run the script with vtk filename.tcl it
works fine.</FONT></SPAN></DIV>
<DIV><SPAN class=239530101-18072002><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=239530101-18072002><FONT face=Arial size=2>Any ideas?
I've set the TCLLIBPATH and <FONT face="Times New Roman"
size=3>LD_LIBRARY_PATH variables...</FONT></FONT></SPAN></DIV>
<DIV><SPAN class=239530101-18072002></SPAN> </DIV>
<DIV><SPAN class=239530101-18072002><FONT face=Arial
size=2>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=239530101-18072002><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=239530101-18072002><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><FONT face=Arial size=2>David Keator</FONT></DIV>
<DIV><FONT face=Arial size=2>Specialist</FONT></DIV>
<DIV><FONT face=Arial size=2>Brain Imaging Center</FONT></DIV>
<DIV><FONT face=Arial size=2>Psychiatry and Human Behavior</FONT></DIV>
<DIV><FONT face=Arial size=2>University of California, Irvine</FONT></DIV>
<DIV> </DIV></BODY></HTML>