ITK/Release 4/Wrapping/WrapITK Installation: Difference between revisions
From KitwarePublic
Jump to navigationJump to search
No edit summary |
Daviddoria (talk | contribs) m (moved ITK Release 4/Wrapping/WrapITK Installation to ITK/Release 4/Wrapping/WrapITK Installation) |
||
(37 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
'''WrapITK Installation''' | |||
Steps for WrapITK installation | |||
Required tools: | = Required tools = | ||
* your usual compiler | |||
* Swig for Mac OS X [http://swig.org] | |||
* CMake [http://www.cmake.org] | |||
* Doxygen [http://www.doxygen.org] | |||
* Git [http://www.itk.org/Wiki/Git/Download] | |||
optionally ( but we recommend it highly ! ) | |||
* ccache [[../../Wrapping/ccache|enabling ccache]] | |||
= Download ITK = | |||
Download ITK as explained [http://www.vtk.org/Wiki/ITK/Git/Download | here ] | |||
ITK/ | |||
= Build ITK = | |||
Create a BUILD directory and go there (example given for linux/mac) | |||
mkdir BUILD | |||
cd BUILD | |||
Run CCMake (example given for linux/mac) | |||
ccmake .. | |||
Set the following CMake flags ON: | |||
* USE_WRAP_ITK | |||
* ITK_USE_REVIEW (This is an advanced option, you would need to toggle them on) | |||
* BUILD_SHARED_LIBS | |||
Then Choose which language(s) you want to create libraries for by setting the corresponding flag ON | |||
* WRAP_ITK_PYTHON | |||
* WRAP_ITK_JAVA | |||
* WRAP_ITK_TCL ... | |||
Note that if you choose more than one, you might want to switch the following flag ON as well to sped up the process ( Examples of speed ups [[/Wrap_ITK_EXPLICIT|here]] ). | |||
* WRAP_ITK_EXPLICIT | |||
Much improvement in building speed can be achieve by [[../../Wrapping/ccache|enabling ccache]]. | |||
Now, keep configuring until the "generate" option appears. Generate. Compile. |
Latest revision as of 16:00, 9 December 2011
WrapITK Installation Steps for WrapITK installation
Required tools
optionally ( but we recommend it highly ! )
- ccache enabling ccache
Download ITK
Download ITK as explained | here
Build ITK
Create a BUILD directory and go there (example given for linux/mac)
mkdir BUILD cd BUILD
Run CCMake (example given for linux/mac)
ccmake ..
Set the following CMake flags ON:
- USE_WRAP_ITK
- ITK_USE_REVIEW (This is an advanced option, you would need to toggle them on)
- BUILD_SHARED_LIBS
Then Choose which language(s) you want to create libraries for by setting the corresponding flag ON
- WRAP_ITK_PYTHON
- WRAP_ITK_JAVA
- WRAP_ITK_TCL ...
Note that if you choose more than one, you might want to switch the following flag ON as well to sped up the process ( Examples of speed ups here ).
- WRAP_ITK_EXPLICIT
Much improvement in building speed can be achieve by enabling ccache.
Now, keep configuring until the "generate" option appears. Generate. Compile.