[vtkusers] Re: using itcl with vtk on windows
Katherine Kerekes
kerekes at fastmail.fm
Sun Feb 22 19:00:22 EST 2004
Well, I thought I had everything working and I can run tcl programs with
vtk commands from the wish shell, BUT I can't run itcl programs with vtk
commands from the itkwish31 shell. Itk can't seem to find the vtk
packages. Is there a variable similar to TCLLIBPATH for itk? When I
run the command "package require vtk" in the itkwish31 shell, it returns
an empty string. When I try to include the line "package require vtk"
in an itcl script the shell dies when it tries to run. Am I missing
something? Why can tcl find my vtk libs but itcl can't?
Katherine Kerekes
--- Katherine Kerekes <kerekes at fastmail.fm> wrote:
> Hello vtkusers,
>
> I am using Windows XP and I have installed vtk 4.2
> and itcl/itk 3.1 with
> tcl/tk 8.3 from binaries.
>
> I was building an application in tcl and running it
> with vtk.exe. This
> worked fine, but now I want to make my code object
> oriented using itcl.
> I want to run my application from itclsh instead of
> with vtk.exe.
>
> I can't figure out how to set up my vtk libraries so
> that tcl can find
> them. I read that you can set an environment
> variable TCLLIBPATH-this
> environment variable didn't exist, but I created it
> and set it to the
> right directory. Still I can't find the vtk
> packages. I tried
> requiring the packages one by one, vtkCommonTcl,
> vtkIOTCL, etc. and I
> moved these dlls to the tcl bin directory, but it
> still can't find them.
> Does anyone have any suggestions? Do I need to
> build vtk, itcl, itk by
> hand and configure them differently?
>
> Thanks for any help,
> Katherine Kerekes
>
More information about the vtkusers
mailing list