[vtkusers] Windows Precompiled missing Tcl/Tk libs?

Sebastien BARRE sebastien.barre at kitware.com
Thu Jan 24 11:49:39 EST 2002


Good morning,

At 1/24/2002 09:24 AM, Pan, Tony C (CRD) wrote:
>Good morning.  I don't know if this is by design or not: the windows 
>precompiled distribution does not include Tcl/Tk libs,

No it's not, this would add another 2.5 Mo, and many people may definitely 
want to use their own Tcl/Tk version/distrib.

We just put a Tcl/Tk distrib available for download:
http://public.kitware.com/VTK/files/misc/tcltk/
The web site has been updated to mention that link.

>  nor does it set up the TCLLIBPATH in the environment automatically.

Yes, by design too.
If you are running vtk.exe to execute your Tcl script, you should be just 
fine. And this is the default, since the installer sets an association 
between Tcl and "VTK Document".

But you are in a "experienced user" situation since you are trying to run 
the Tcl scripts from Tclsh or Wish and you knew how to change that 
association. This means that you know about TCLLIBPATH :)) We would prefer 
not set TCLLIBPATH and PATH because we do not want that suddently the wrong 
VTK or the wrong DLL is picked.

>VTK3.2 executables were able to run right after installation.

No.
a) You had to set your PATH so that Tcl could find the DLL
b) the whole package structure was different, and a single call to "load 
vtktcl.dll" was enough. We split every packages (Graphics, Common, Imaging) 
into their own DLL in 4.0, and the same applies to the TCL DLL, so we can 
no longer use the same "load" approach.

>I was not able to find anything documentation addressing this issue in the 
>mailing list archive, the online download doc, the FAQ, the readme files 
>included in the package. (The readme in the Wrapping/tcl does talk about 
>setting up TCLLIBPATH, but I had to find the file first)

I have searched the mainling list (http://www.kitware.com/search.html), and 
I was able to find at least 25 articles about TCLLIBPATH, several of them 
addressing this issue.

The Wrapping/Tcl/README file has detailed step-by-step instructions. And 
you found it :)

I'll update the FAQ.

>   Please let me know if this is indeed an problem.  If not, please update 
> the website or include some kind of install-readme file

It *is* in the main README.html:
"[...] If you have enabled Tcl wrapping, you will want to set TCLLIBPATH to 
point to the VTK/Wrapping/Tcl directory. [...]"

Hope this helps


--
Sebastien Barre




More information about the vtkusers mailing list