CIBC:Documentation:SCIRun:Installation:InsightToolkit
From SCIRun Documentation Wiki
Insight Toolkit (ITK) Installation Hints
When installing ITK for use with SCIRun, you can turn off the examples and testing. Also, you need to make sure that ITK does (or does not) build shared libraries (to match whether or not you are building SCIRun or Seg3d).
For both SCIRun and Seg3D:
BUILD_EXAMPLES = OFF BUILD_TESTING = OFF
For SCIRun:
BUILD_SHARED_LIBS = ON
For Seg3D:
BUILD_SHARED_LIBS = OFF
For GDCM support: Make sure the variables WITH_GDCM, GDCM_CONFIGURE_INCLUDE, GDCM_INCLUDE:PATH, and GDCM_LIBRARY are all set specified to your system. See below for example values:
ITK_DIR:PATH=C:/work/InsightBin-3.0.0 WITH_GDCM:BOOL=ON GDCM_CONFIGURE_INCLUDE:PATH=C:/work/InsightBin-3.0.0/Utilities/gdcm GDCM_INCLUDE:PATH=C:/work/InsightToolkit-3.0.0/Utilities/gdcm/src GDCM_LIBRARY:FILEPATH=C:/work/InsightBin-3.0.0/bin/release/itkgdcm.lib
Optionally, you can have ITK install directly into the SCIRun Thirdparty directory to make it easier for the SCIRun installation to find:
CMAKE_INSTALL_PREFIX = path_to_SCIRun_thirdparty
Go back to Documentation:SCIRun:Installation