[vtkusers] tcl example execution problem - VTK4.2/windows

Ketan Mehta ketan.mehta at wipro.com
Thu Sep 18 00:10:05 EDT 2003


Hi All,

Thanks for helping me out.

Now it works. 
We need to set environment variable in Windows via system properties tab
as : TCLLIBPATH={C:\Program Files\vtk42\lib\vtk\tcl}
Note :: Braces are very important.. without which it does not work.

While executing Cone6.tcl example, on first click cone went out of box!!
Is this Bug or local problem ???

Brad, can we write / update the installation guide. Since most of the notes
are either old or refers wrapping directory etc. Even we have old 4.0 tcl
installer for vtk, which I think is not required now.
Any thoughts?

Thanks 
Bye
Ketan

Brad King wrote:
> 
> 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

**************************Disclaimer************************************

Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged' and 'confidential' and intended for use only by the individual
 or entity to which it is addressed. You are notified that any use, copying 
or dissemination of the information contained in the E-MAIL in any manner 
whatsoever is strictly prohibited.

***************************************************************************



More information about the vtkusers mailing list