Farsight ITKv4 Migration Guide

From FarsightWiki
(Difference between revisions)
Jump to: navigation, search
(ITK)
Line 1: Line 1:
This page mostly documents the changes from the [[FARSIGHT_HowToBuild]] guide on how to build Farsight without SuperBuild to work with ITKv4 and provides tips and hints on how to modify the existing codebase to work with the new/modified ITK classes
+
This page mostly documents the changes from the [[FARSIGHT_HowToBuild]] guide with a discrete build to work with ITKv4 and provides tips and hints on how to modify the existing codebase to work with the new/modified ITK classes. The SuperBuild is not known to work yet with ITKv4, so if you need ITKv4, this is the only way to do it.
  
 
= Build requirements =
 
= Build requirements =

Revision as of 23:44, 6 June 2011

This page mostly documents the changes from the FARSIGHT_HowToBuild guide with a discrete build to work with ITKv4 and provides tips and hints on how to modify the existing codebase to work with the new/modified ITK classes. The SuperBuild is not known to work yet with ITKv4, so if you need ITKv4, this is the only way to do it.

Contents

Build requirements

VXL

Revision 32353 or later:

svn checkout --revision 32352 https://vxl.svn.sourceforge.net/svnroot/vxl/trunk/

ITK

v4.0a7 or later:

git clone git://itk.org/ITK.git
cd ITK
git checkout --revision v4.0a07

CMake Changes

ITK

ITK now has modules. Modules can be individually or group-wise turned on and off. It is recommended to just turn on all the modules since most of ITK's functions are templated and thus are not built until they are actually used in your program. Note: If you turn on a group, it will always build all the modules in that group regardless of if you have that module checked or not.

Code changes

Changes in the file names/functions/etc of ITK since v3.20 should be located in one of two places:

http://ij.itk.org/itkfaq/index.php?action=search&tagging_id=2
http://www.itk.org/Wiki/Proposals:Refactoring_Statistics_Framework_2007_Migration_Users_Guide

If you cannot find the change documentation, please write to the ITK Developer's List

Personal tools