ITK/Release 4/Modularization/Status: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
Steps of running modular ITK (internal Kitware only)
Steps of running modular ITK (internal Kitware only)


*1. Download the supporting modularITK repo:  
Utility modules such as image IO modules (itk-jpeg, itk-meta, itk-png, itk-nrrd ...)
  git clone git://www.kitware.com/itk/modularITKSupport.git
are also put into the repo as they compile.
 
*Run the scripts of modularization to fill in the modularITK with source codes.
 
The scripts are located in the monolithic/current ITK repository:
  <ITK_SOURCE_DIR>/Modularization/
 
First edit "./customRun.sh" to configure two directory paths: <HeadOfMonolithicITKTree>  and <HeadOfModuarITKTree>.


This repo contains all the cmake packing files of each module as they pass the build.
./customRun.sh  will first download  supporting modules and cmake packaging files from modularITKSupport repository to <HeadOfModuarITKTree>, and then copy source files from  <HeadOfMonolithicITKTree> to <HeadOfModuarITKTree> according to Manifest.txt (located in the same directory). After running the scripts, <HeadOfModuarITKTree> contains the modularized ITK.
The actual source codes of the modules are going to be copied from monolithic ITK during the
following step 2.  


Utility modules such as image IO modules (itk-jpeg, itk-meta, itk-png, itk-nrrd ...)
are also put into the repo as they compile.


*2. Run the scripts of modularization to fill in the modularITK with source codes.
The modularITKSupport repository is located at:
  git://www.kitware.com/itk/modularITKSupport.git


The scripts are located in the monolithic/current ITK repository under dir "Modularization"
cd $ITK_SOURCE_DIR/Modularization/
vim ./customRun.sh [edit two directory variables accordingly: HeadOfMonolithicITKTree  HeadOfModuarITKTree]
./customRun.sh  [will copy source files over to HeadOfModuarITKTree dir according to Manifest.txt]


where ITK_SOURCE_DIR is the top of the ITK source tree.
   
   
*3. Configure and build modular ITK.
*Configure and build modular ITK.
 
Go to the  bin directory:
Go to your modularITK bin dir and do:
  ccmake  (only itk-common module is turned on by default, other modules are off)
  ccmake  (only itk-common module is turned on by default, other modules are off)
  make
  make

Revision as of 15:07, 29 December 2010

Steps of running modular ITK (internal Kitware only)

Utility modules such as image IO modules (itk-jpeg, itk-meta, itk-png, itk-nrrd ...) are also put into the repo as they compile.

  • Run the scripts of modularization to fill in the modularITK with source codes.

The scripts are located in the monolithic/current ITK repository:

<ITK_SOURCE_DIR>/Modularization/

First edit "./customRun.sh" to configure two directory paths: <HeadOfMonolithicITKTree> and <HeadOfModuarITKTree>.

./customRun.sh  will first download  supporting modules and cmake packaging files from modularITKSupport repository to <HeadOfModuarITKTree>, and then copy source files from  <HeadOfMonolithicITKTree> to <HeadOfModuarITKTree> according to Manifest.txt (located in the same directory). After running the scripts, <HeadOfModuarITKTree> contains the modularized ITK.


The modularITKSupport repository is located at:

  git://www.kitware.com/itk/modularITKSupport.git


  • Configure and build modular ITK.

Go to the bin directory:

ccmake   (only itk-common module is turned on by default, other modules are off)
make
                                        

Status table:

Module Built src (static) Built test (static) Built src (shared) Build test(shared) Install
itk-base X --
itk-sys X --
itk-vnl X --
itk-vnl-install X --
itk-common X
itk-zlib X --
itk-jpeg X --
itk-io-jpeg X -
itk-meta X --
itk-io-meta X --
itk-nifti X --
itk-io-nifti X --
itk-nrrd X --
itk-io-nrrd X --
itk-png X --
itk-tiff X --
itk-io-tiff X
itk-io-analyze X
itk-io-lsm X
itk-io-stimulate X
itk-io-biorad X
itk-io-bmp X
itk-io-ge X
itk-io-ipl X
itk-io-gipl X
itk-io-vtk X
itk-transform X
itk-io-transform X
itk-spatial-objects X
itk-io-spatialobjects X
itk-xml X
itk-expat X
itk-gdcm X
itk-io-gdcm X
itk-io-interface X
itk-io-common