[Insight-users] how to load package in tcl for itk
wavelethe at pku.org.cn
wavelethe at pku.org.cn
Thu, 25 Mar 2004 18:42:34 +0800 (CST)
thanks for your help.
but now i am afraid that it is because i have NOT choose tclwrap when compile itk
so the packages do NOT exist at all.
i don't know weather i am right, for itk still compiling again. it is so slow, for i added all the examples and tests. it is such a wrong dicision!
by the way, how can i get the value of auto_path for tcl package? I do not find such a file.
> -----Original Message-----
> 发件人: jean-michel.rouet at philips.com
> 日期: Thu, 25 Mar 2004 10:31:10 +0100
> 收件人: wavelethe at pku.org.cn
> 主题: Re: [Insight-users] how to load package in tcl for itk
> Hi,
>
> you should run your example View2DOutputInVTK.tcl with the vtk.exe program
> (somewhere in vtkhome/bin/release)
> i.e. from a command line:
> vtk.exe View2DOutputInVTK.tcl
> this vtk.exe is a wrapper to the wish tcl interpreter that also sets
> correctly the various environment variable such as load path an so on.
>
> Hope this helps.
> JM
>
>
> On 25/03/2004 03:21:22 wavelethe wrote:
> >after compiling SimpleLevelSetsExample seccessfully,
> >I was told that "Result:can't find package vtkinteraction" when i run
> >View2DOutputInVTK.tcl in ASED
> >Errorinfo: can't find package vtkinteraction while execting
> >"package require vtkinteraction" invoked from within "interp eval $interp
>
> >$command"
> >
> >I am newbie and learning them, and i need some direction
> >I have searched the file named "vtkinteraction", but only found one in
> vtkwrap
> >directory
> >
> >best regards
---------------------------------------------------------------
欢迎使用北京大学校友网(PKUAA)电子邮件系统 http://www.pku.org.cn