[vtkusers] vtk & tcl/tk...

fred fredantispam at free.fr
Fri Jul 7 02:22:50 EDT 2006


Hi all,

tcl/tk 8.4 is located in /usr and installed by debian packages.

vtk 5.0 is built with tcl wrapping and intalled in /usr/local.

When I want to test some tcl script, Mace.tcl for instance, tcl
complains that it does
not find vtk :

marsu[pts/0]:~.../Tcl/{12}/> tclsh Mace.tcl
can't find package vtk
    while executing
"package require vtk"
    (file "Mace.tcl" line 15)

I guess tcl looks for vtk packages in /usr/lib, not in /usr/local/lib.
How can I tell to tcl where vtk packages are ?


Cheers,

-- 
Fred.



More information about the vtkusers mailing list