[vtkusers] One question on Tcl
Sawsan Ahmed
sawsanahm at yahoo.com
Tue Jan 16 02:30:40 EST 2007
Hi,
Thank you very much.Now every thing is working
fine.But I have one more things to ask.I have to exit
the window pressing 'e' or 'q' button when I use tcl
script.I can't exit by clicking cross(x) on the
window.But when using cxx,this problem does not occur.
Why this is so?
Sawsan.
--- H.Huisman at rad.umcn.nl wrote:
> Your TCLLIBPATH is probably wrong. It contains a
> semi colon. Try:
>
> TCLLIBPATH="$TCLLIBPATH
> /usr/local/src/VTK/VTK/VTK-build/Wrapping/Tcl"
>
> Regards,
>
> Henkjan
> -----Oorspronkelijk bericht-----
> Van: Sawsan Ahmed [mailto:sawsanahm at yahoo.com]
> Verzonden: maandag 15 januari 2007 16:24
> Aan: Huisman, Henkjan
> CC: vtkusers at vtk.org
> Onderwerp: RE: [vtkusers] One question on Tcl
>
> Hello friend,
> I checked the location of pkgIndex.tcl
> file.It is under build directory and corrected the
> TCLLIBPATH as follows:
>
TCLLIBPATH=$TCLLIBPATH:/usr/local/src/VTK/VTK/VTK-build/Wrapping/Tcl
>
> 2)I have also ran make install.But still I am
> getting
> the same error.Whatever else am I missing?
>
> regards,
> Sawsan.
> --- H.Huisman at rad.umcn.nl wrote:
>
> > Check that the TCLLIBPATH dir points at at
> > pkgIndex.tcl file. Your path
> > definition looks weird with 3 VTK's in it. You
> might
> > want to consider
> > using from an install dir. Type make install after
> > compiling vtk.
> >
> > HJ
> >
> > -----Oorspronkelijk bericht-----
> > Van: Sawsan Ahmed [mailto:sawsanahm at yahoo.com]
> > Verzonden: zondag 14 januari 2007 16:12
> > Aan: vtkusers at vtk.org
> > Onderwerp: [vtkusers] One question on Tcl
> >
> > Hello Friends,
> >
> > I can run tcl scripts from bin
> > directory
> > in my linux box.In my .bash_profile,I have set the
> > following environment variables:
> >
> > VTK_DATA_ROOT="/usr/local/share/VTKData"
> >
>
PATH=$PATH:$HOME/bin:/usr/local/src/VTK/VTK/VTK-build/bin
> >
>
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/src/VTK/VTK/VTK-build/bin
> >
>
TCLLIBPATH=$TCLLIBPATH:/usr/local/src/VTK/VTK/VTK/Wrapping/Tcl
> > export VTK_DATA_ROOT PATH LD_LIBRARY_PATH
> TCLLIBPATH
> >
> > But when I try to run tcl scripts from Examples
> > directory,I get the following error message:
> >
> >
>
------------------------------------------------------------
> > vtk Medical1.tcl
> > Error in startup script: The Tcl interpreter was
> > probably not able to find the VTK packages.
> Please
> > check that your TCLLIBPATH environment variable
> > includes the path to your VTK Tcl directory. You
> > might find it under your VTK binary directory in
> > Wrapping/Tcl, or under your site-specific
> > installation
> > directory. The TCLLIBPATH current value is:
> > :/usr/local/src/VTK/VTK/VTK/Wrapping/Tcl. The
> > TCLLIBPATH variable is a set of space separated
> > paths
> > (hence, path containing spaces should be
> surrounded
> > by
> > quotes first). Windows users should use forward
> > (Unix-style) slashes '/' instead of the usual
> > backward
> > slashes. More informations can be found in the
> > Wrapping/Tcl/README source file (also available
> > online
> > at
> >
>
http://www.vtk.org/cgi-bin/cvsweb.cgi/~checkout~/VTK/Wrapping/Tcl/README
> > ).
> > can't find package vtk
> > while executing
> > "package.orig require vtk"
> > ("eval" body line 1)
> > invoked from within
> > "eval package.orig $args"
> > (procedure "package" line 2)
> > invoked from within
> > "package require vtk"
> > (file "Medical1.tcl" line 1)
> >
>
------------------------------------------------------
> >
> ---------------------------------------------------
> >
> > 2. I think I have set the correct TCLLIBPATH as
> > mentioned in the document.Why still I am getting
> the
> > error?Could anyone help me to figure out the
> > problem?
> >
> > regards,
> > Sawsan.
> >
> >
> >
> >
> >
> >
>
________________________________________________________________________
> > ____________
> > Finding fabulous fares is fun.
> > Let Yahoo! FareChase search your favorite travel
> > sites
> > to find flight and hotel bargains.
> > http://farechase.yahoo.com/promo-generic-14795097
> >
> >
> >
> >
>
________________________________________________________________________
> > ____________
> > No need to miss a message. Get email on-the-go
> > with Yahoo! Mail for Mobile. Get started.
> > http://mobile.yahoo.com/mail
> >
> >
> >
>
>
>
>
>
________________________________________________________________________
> ____________
> Any questions? Get answers on any topic at
> www.Answers.yahoo.com. Try it now.
>
>
>
>
________________________________________________________________________
> ____________
> Need a quick answer? Get one in minutes from people
> who know.
> Ask your question on www.Answers.yahoo.com
>
>
>
____________________________________________________________________________________
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
http://answers.yahoo.com/dir/?link=list&sid=396546091
More information about the vtkusers
mailing list