VTK Installation
This pipeline module has been created for users who intend to automate the download and compilation process of the VTK software. To install VTK, please follow the instructions below:
Windows Platform (under cygwin)
- This pipeline module is intended to be used with Cygwin on any Windows platform in conjunction with the Pipeline
- It is assumed that the user has installed cygwin on his/her Windows machine in "C:\cygwin\" directory
- Furthermore, the applications cmake, cvs should be already installed within cygwin as additional packages
- All commands, namely: cvs, cmake, mkdir etc: should be located under "C:\cygwin\bin\" directory
Instructions
- Download and install Java
- Download and install CMake
- Download the pipeline application (see link above)
- Download the pipeline module Vtk_install_using_pipeline.pm
- Start cygwin by clicking on C:\cygwin\cgywin.bat
- On the cygwin prompt, change dir to the TARGET_DIR directory, e.g. "/usr/local/Your_VTK/"
- Copy pipeline.jar into TARGET_DIR
- Run "java -jar pipeline.jar"
- Select File->Load Modules and load Vtk_install_using_pipeline.pm
- Click "OK" when the global variable tables (see below in "What to expect" for details on this) come up
- Select Execution->Validation to make sure everything is fine
- Select Execution->Run to run
- Read a book (both the cvs checkout and compilation takes a while
Unix Platform (most flavours)
- This can be used on unix platforms (including mac os x). however, only the bash shell has been verified
- this pipeline module assumes that the following commands are in your path- cvs, cmake, mkdir
Instructions
- Download and install Java
- Download and install CMake
- Download the pipeline application (see link above)
- Download the pipeline module Vtk_Unix_Install_using_pipeline.pm: Vtk installation for unix
- Create a target directory (TARGET_DIR) where you would like to install VTK, e.g. "~/namic"
- Copy pipeline.jar into TARGET_DIR
- Run "java -jar pipeline.jar"
- Select File->Load Modules and load Vtk_install_using_pipeline.pm
- Click "OK" when the global variable tables (see below in "What to expect" for details on this) come up
- Select Execution->Validation to make sure everything is fine
- Select Execution->Run to run
- Read a book (both the cvs checkout and compilation takes a while
What to Expect
- An "VTK" directory (lets call it VTK_INSTALL_DIR) is created inside the TARGET_DIR - example: /usr/local/Your_VTK/VTK/
- Pipeline will download Insight source and make files into VTK_INSTALL_DIR
- Pipeline will then create a directory named "binary" (VTK_BINARY_DIR) in VTK_INSTALL_DIR - example: /usr/local/Your_VTK/VTK/binary/
- The VTK toolkit is built and all binary files are stored in VTK_BINARY_DIR
- VTK_BINARY_DIR is a self-sufficient directory with all the executables and can be transported as an VTK executable package
--
JagadeeswaranRajendiran - 22 Feb 2005