This is based on the earlier vtk6 package maintained by Gabriel Souza Franco which was deleted some time ago. The present package is a stripped-down version which compiles on current Arch and just includes the Tcl wrapper (no Java, no Python). It includes everything needed for Tcl-based VTK development, is lighter on dependencies, and builds fairly quickly.
This package is for people who need to run legacy VTK applications which require a full set of VTK Tcl libraries, which isn't supported by newer VTK versions any more. Thus it lets you use VTK in any programming environment which has a Tcl interface, of which there are many.
NOTE: To prevent conflicts with other VTK installations, like the old vtk6 package, vtk6-legacy installs into /opt/vtk6. This also encompasses the Tcl libraries, so in order to make the vtk package load properly in the Tcl interpreter, you need to set the TCLLIBPATH environment variable accordingly. E.g., in bash do: export TCLLIBPATH=/opt/vtk6/lib/tcltk
.
To test that the package loads properly, run tclsh and input the command package require vtk
. You should see 6.3
displayed in response.
Pinned Comments
aggraef commented on 2022-07-25 00:16 (UTC) (edited on 2022-07-25 00:17 (UTC) by aggraef)
This is based on the earlier vtk6 package maintained by Gabriel Souza Franco which was deleted some time ago. The present package is a stripped-down version which compiles on current Arch and just includes the Tcl wrapper (no Java, no Python). It includes everything needed for Tcl-based VTK development, is lighter on dependencies, and builds fairly quickly.
This package is for people who need to run legacy VTK applications which require a full set of VTK Tcl libraries, which isn't supported by newer VTK versions any more. Thus it lets you use VTK in any programming environment which has a Tcl interface, of which there are many.
NOTE: To prevent conflicts with other VTK installations, like the old vtk6 package, vtk6-legacy installs into /opt/vtk6. This also encompasses the Tcl libraries, so in order to make the vtk package load properly in the Tcl interpreter, you need to set the TCLLIBPATH environment variable accordingly. E.g., in bash do:
export TCLLIBPATH=/opt/vtk6/lib/tcltk
.To test that the package loads properly, run tclsh and input the command
package require vtk
. You should see6.3
displayed in response.