[vtkusers] Installing VTK librairy (Windows) and use it

Katarzyna Boronska Katarzyna.Boronska at limsi.fr
Wed Jun 8 05:28:16 EDT 2005


Go to the Control Panel -> system properties -> advanced -> environment 
variables and set
TCLLIBPATH {c:/programs/vtk/vtk44/Wrapping/tcl}
VTK_DATA_ROOT C:/programs/vtk
where c:/programs/vtk/vtk44/Wrapping/tcl means the directory where is 
the pkgIndex.tcl  file
and C:\programs\vtk means the directory where is the directory Data with 
the example data.

You can also run vtk.exe cone.tcl, it should not complain about finding 
vtk package, but I think the Tcl/Tk  possibilities are there reduced.

The {} are necessary, I think. And don't use backslashes in TCLLIBPATH. 
Btw,  don't get used to using "Program Files" or any path containing 
spaces when installing any multi-platform tools.

    Kasia

Alain SIMAC wrote:

> Hi vtk-user,
>
>  
>
> I always seek to succeed in using vtk. Under Windows, I installed vtk 
> 4.4 provided on CD of VTK User' S Guide.
>
> I tested the examples in TCL provided and installed in C:\Program 
> Files\VTKTCK 4.4
>
> The result is:
>
> - either I have an error :
>
> can't find package vtk
>
>   while executing
>
> "package require vtk"
>
>   (file "c:\Program Files\VTKTCK 4.4\Cone5.tcl" line 14)
>
> - or I have a grey  windows without anything inside
>
>  
>
> How to make to succeed in having something in my case?
>
>  
>



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.6.5 - Release Date: 2005-06-07




More information about the vtkusers mailing list