<!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 6.00.2713.1100" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>In windows, set up your TCLLIBPATH and add the vtk
executables (/vtk40/bin) ,dll files' path to your path variable or you can
put the dlls and executables directly to your System directory.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>In Unix, The path of vtk's shared libraries(*.so)
and vtk executables must be defined in your path variable. Although make
install would put them the directory where other system libraries are( you may
not need to modify your path variable). To modify the path variable,for
example in IRIX you can modify .cshrc file( C shell) in
your account's root directory to add vtk executables' path</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>In Unix</FONT></DIV>
<DIV><FONT face=Arial size=2>Then type</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>vtk Your_Tcl_file.tcl </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I hope this helps....</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=lisong@vrac.iastate.edu href="mailto:lisong@vrac.iastate.edu">Song
Li</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=vtkusers@public.kitware.com
href="mailto:vtkusers@public.kitware.com">vtkusers@public.kitware.com</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, May 27, 2002 10:43 PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [vtkusers] Help -- running Tcl
example</DIV>
<DIV><BR></DIV>Hi, <BR> When I try to run a tcl example , it gives such
error message:
<P>Error in startup script: can't find package vtk <BR>
while executing <BR>"package require vtk"
<P>So where to define package????? Thanks! <PRE>--
Song Li
VRAC(Virtual Reality Application Center),Iowa State University
Email: <A href="mailto:lisong@vrac.iastate.eduHomepage">lisong@vrac.iastate.edu
Homepage</A>: <A href="http://www.vrac.iastate.edu/~lisong">http://www.vrac.iastate.edu/~lisong</A></PRE>
</BLOCKQUOTE></BODY></HTML>