Pipeline:InstallITK
From NAMIC Wiki
Home < Pipeline:InstallITK
Download the Pipeline installation module here:
- Windows/Cygwin: Media:Itkinstall_cygwin.pm
- Unix: Media:Itkinstall_unix.pm
A short introduction on the Pipeline can be found at LONIPipelineSummary.
For more information on downloading and using Pipeline, click on: Pipeline Download Page
Windows notes:
- 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
Windows Usage:
- Download and install Java
- Download and install CMake
- Download the pipeline application (see link above)
- Download the pipeline module (see link above)
- Start cygwin by clicking on C:\cygwin\cgywin.bat
- On the cygwin prompt, change dir to the TARGET_DIR directory, e.g. "/usr/local/ITK/"
- Copy pipeline.jar into TARGET_DIR
- Run "java -jar pipeline.jar"
- Select File->Load Modules and load itkinstallpipeline.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 notes:
- this should be able to 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
Unix Usage:
- Download and install Java
- Download and install CMake
- Download the pipeline application (see link above)
- Download the pipeline module (see link above)
- Create a target directory (TARGET_DIR) where you would like to install ITK, e.g. "~/namic"
- Copy pipeline.jar into TARGET_DIR
- Run "java -jar pipeline.jar"
- Select File->Load Modules and load itkinstallpipeline.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 "Insight" directory (lets call it ITK_INSTALL_DIR) is created inside the TARGET_DIR - example: /usr/local/ITK/Insight/
- Pipeline will download Insight source and make files into ITK_INSTALL_DIR
- Pipeline will then create a directory named "binary" (ITK_BINARY_DIR) in ITK_INSTALL_DIR - example: /usr/local/ITK/Insight/binary/
- The Insight toolkit is built and all binary files are stored in ITK_BINARY_DIR
- ITK_BINARY_DIR is a self-sufficient directory with all the executables and can be transported as an ITK executable package