ITK/Release 4/Wrapping/WrapITK Installation: Difference between revisions

From KitwarePublic
< ITK‎ | Release 4‎ | Wrapping
Jump to navigationJump to search
mNo edit summary
No edit summary
Line 2: Line 2:
Steps for WrapITK installation on Mac OS X  Snow Leopard:
Steps for WrapITK installation on Mac OS X  Snow Leopard:
= Required tools =
= Required tools =
Install Xcode version 3.x (& not 4.x) from developer.apple.com
 
Install cmake from
* Xcode version 3.x (& not 4.x) from developer.apple.com
Install Git from http://www.itk.org/Wiki/Git/Download
* CMake from http://www.cmake.org/
* Git http://www.itk.org/Wiki/Git/Download


= Download ITK =
= Download ITK =
Download ITK source from the git page from http://www.vtk.org/Wiki/ITK/Git/Download
Download ITK source from the git page from http://www.vtk.org/Wiki/ITK/Git/Download
Make sure you checkout the Master branch using git checkout master instead of any other tag. The output directory ITK would contain the source code.
Make sure you checkout the Master branch using git checkout master instead of any other tag. The output directory ITK would contain the source code.


= Build ITK =
= Build ITK =
Create a new directory for ITK binaries and run cmake from command line or GUI to build the ITK source
Create a new directory for ITK binaries and run cmake from command line or GUI to build the ITK source
mkdir build  
mkdir build  
Line 20: Line 23:


= Experimental build =
= Experimental build =
To create the experimental build, run the command: crest -D Experimental
To create the experimental build, run the command: crest -D Experimental

Revision as of 20:45, 10 March 2011

WrapITK Installation Steps for WrapITK installation on Mac OS X Snow Leopard:

Required tools

Download ITK

Download ITK source from the git page from http://www.vtk.org/Wiki/ITK/Git/Download Make sure you checkout the Master branch using git checkout master instead of any other tag. The output directory ITK would contain the source code.

Build ITK

Create a new directory for ITK binaries and run cmake from command line or GUI to build the ITK source mkdir build cd build ccmake .. Make sure of enabling the configuration options USE_WRAP_ITK, ITK_REVIEW, ITK_PYTHON, ITK_JAVA, and BUILD_SHARED_LIBS in the configuration run make utility ITK/build directory would contain the binaries

Experimental build

To create the experimental build, run the command: crest -D Experimental