ITK/Release 4/Modularization/Prototype/Tutorial: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
Line 13: Line 13:
* A build environment (gcc / VS)
* A build environment (gcc / VS)
* CMake 2.8.2 installed
* CMake 2.8.2 installed
* Git installed
* Git 1.7.x.x installed


= Method A: Subdirs =
= Method A: Subdirs =

Revision as of 03:38, 2 November 2010

Overview

This tutorial demonstrates the prototype of modularized ITK with an toy example containing six modules and a testing application. The test application "itkNrrdImageIOTest" reads and writes images in Nrrd format. The five library modules that are required to build the test application are:

  • itk-vnl (a subset of numeric libraries of VXL)
  • kwsys (a supporting library for )
  • itk-common (core classes, macro definitions, typedefs, and other software constructs central to ITK)
  • itk-io-common (classes that support the reading and writing of data)
  • nrrdio (third-party library)
  • itk-io-nrrd (itk wrapper of nrrdio).

Requirements

  • A computer with a network connection
  • A build environment (gcc / VS)
  • CMake 2.8.2 installed
  • Git 1.7.x.x installed

Method A: Subdirs

Download

Git repositories: git://kwsource.kitwarein.com/itk/nrrdio.git git://kwsource.kitwarein.com/itk/itk-common.git git://kwsource.kitwarein.com/itk/itk-io-common.git git://kwsource.kitwarein.com/itk/kwsys.git git://kwsource.kitwarein.com/itk/itk-io-nrrd.git git://kwsource.kitwarein.com/itk/test-itk-nrrd.git


Configure

  • How to configure the modularized code
    • CMake commands...

Build

  • How to build the modularized code

Test

  • How to submit a build to the ITK Dashboard
  • and where to find it.
http://www.cdash.org/CDash/index.php?project=Insight#ITKv4_Modularization

Method B: Superbuild

Download

  • How to download the modularized code

Configure

  • How to configure the modularized code
    • CMake commands...

Build

  • How to build the modularized code

Test

  • How to submit a build to the ITK Dashboard
  • and where to find it.
http://www.cdash.org/CDash/index.php?project=Insight#ITKv4_Modularization

Reference

 https://git.wiki.kernel.org/index.php/GitSubmoduleTutorial