[vtkusers] Help -- running Tcl example

Bekir Turkmen bekir.turkmen at strath.ac.uk
Tue May 28 05:50:00 EDT 2002


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.

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

In Unix
Then type

vtk Your_Tcl_file.tcl 

I hope this helps....
  ----- Original Message ----- 
  From: Song Li 
  To: vtkusers at public.kitware.com 
  Sent: Monday, May 27, 2002 10:43 PM
  Subject: [vtkusers] Help -- running Tcl example


  Hi, 
    When I try to run a tcl example , it gives such error message: 
  Error in startup script: can't find package vtk 
      while executing 
  "package require vtk" 

  So where to define package????? Thanks! 

-- 
Song Li
VRAC(Virtual Reality Application Center),Iowa State University
Email: lisong at vrac.iastate.edu
Homepage: http://www.vrac.iastate.edu/~lisong
    
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20020528/994349f2/attachment.htm>


More information about the vtkusers mailing list