[vtkusers] tcl example execution problem - VTK4.2/windows
Brad King
brad.king at kitware.com
Wed Sep 17 13:28:05 EDT 2003
Marcio wrote:
> As this subject came back to the list I would like to know too why
> nobody from Kitware clarify this open issue yet?
It seems no one saw the message due to the high traffic. I'm guessing
you're referring to "How to include VTK packages in TCL/TK ?" posted June
15 2003. The reason the tcl packages are no longer in vtk42/wrapping/tcl
is to be consistent with the UNIX installation. The documentation error
is still there. I'll get it fixed when I can.
Ketan wrote:
> I have set the TCLLIBPATH to C:/Program Files/vtk42/lib/vtk/tcl,
> which is the place where package files exists.
This should work fine, but you have to be careful due to spaces in the
path. When inside wish or tclsh, run
puts $auto_path
and make sure the path shows up with {} around it to account for the
space. I just installed the binary and set my TCLLIBPATH like this from
a windows command prompt:
set TCLLIBPATH={c:/Program Files/vtk42/lib/vtk/tcl}
The packages load fine with "package require vtk". The need for the
curly-braces is not a VTK problem, but due to the fact that TCLLIBPATH is
interpreted by Tcl as a Tcl list.
-Brad
More information about the vtkusers
mailing list