Difference between revisions of "2012 Summer Project Week:ITKv4 Integration"

From NAMIC Wiki
Jump to: navigation, search
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
 
<gallery>
 
<gallery>
 
Image:PW-MIT2012.png|[[2012_Summer_Project_Week#Projects|Projects List]]
 
Image:PW-MIT2012.png|[[2012_Summer_Project_Week#Projects|Projects List]]
 +
Image:ITKv4Integration-screenshot.png| Screenshot
 
</gallery>
 
</gallery>
  
Line 16: Line 17:
  
 
<h3>Objective</h3>
 
<h3>Objective</h3>
Move Slicer from ITKv3 to ITKv4
+
# Move Slicer build from ITKv3 to ITKv4
 +
## Complete build from scratch with packaging
 +
## Build against ITKv4
 +
## Build with SimpleITK
 +
# Pass Rule 1 and Rule 2 of "Rons Rules for tools"
 +
## You make it, I break it. [1]
 +
## Your tool does not exist, until it works on my laptop with my data. [2]
 +
 
 
</div>
 
</div>
  
Line 23: Line 31:
 
<h3>Approach, Plan</h3>
 
<h3>Approach, Plan</h3>
 
Figure out how to get packaging working when building with ITKv4
 
Figure out how to get packaging working when building with ITKv4
 +
* Basic building is working (Has been for a long time).
 +
* Compiler propagation to submodules needed
 +
 
</div>
 
</div>
  
Line 28: Line 39:
  
 
<h3>Progress</h3>
 
<h3>Progress</h3>
Basic building is working (Has been for a long time).
+
*
 
During Project Week we resolved the packaging issues.
 
During Project Week we resolved the packaging issues.
# ITKv4 now supports runtime only installs. This required changes to both Slicer and ITKv4. The Slicer changes are checked into the repo.
+
# ITKv4 now supports runtime only installs. (Thanks Bill Lorensen)
# The current changes to Slicer work with ITK 4.1.
+
## This required changes to both Slicer and ITKv4 (for complete compliance).
# Currenty, a few .h files are included in the Slicer package. Better support has been tested and will be available in ITK 4.2.
+
### The Slicer changes are checked into the repo.
 +
### The ITKv4 changes are tested and merged into master branch of ITKv4
 +
### BRAINSTools was cleaned up to support the COMPONENT Runtime Install
 +
 
 +
# Clean build process
 +
## Remove configuration warnings about unnecessary/unused configuration commands
 +
## Fix shared library linking for python on Mac for creating successful install
 +
## Complete build success tested to respect superbuild requested compiler (set default CC=/dev/null and CXX=/dev/null to force errors)
 +
##
 
</div>
 
</div>
 
</div>
 
</div>

Latest revision as of 13:49, 22 June 2012

Home < 2012 Summer Project Week:ITKv4 Integration

Key Investigators

  • Iowa: Hans Johnson, Kent Williams
  • GE: Jim Miller
  • SPL: Steve Pieper
  • Kitware: JC, Julien
  • NLM (C): Bradley Lowekamp
  • NoWare: Bill Lorensen

Objective

  1. Move Slicer build from ITKv3 to ITKv4
    1. Complete build from scratch with packaging
    2. Build against ITKv4
    3. Build with SimpleITK
  2. Pass Rule 1 and Rule 2 of "Rons Rules for tools"
    1. You make it, I break it. [1]
    2. Your tool does not exist, until it works on my laptop with my data. [2]

Approach, Plan

Figure out how to get packaging working when building with ITKv4

  • Basic building is working (Has been for a long time).
  • Compiler propagation to submodules needed

Progress

During Project Week we resolved the packaging issues.

  1. ITKv4 now supports runtime only installs. (Thanks Bill Lorensen)
    1. This required changes to both Slicer and ITKv4 (for complete compliance).
      1. The Slicer changes are checked into the repo.
      2. The ITKv4 changes are tested and merged into master branch of ITKv4
      3. BRAINSTools was cleaned up to support the COMPONENT Runtime Install
  1. Clean build process
    1. Remove configuration warnings about unnecessary/unused configuration commands
    2. Fix shared library linking for python on Mac for creating successful install
    3. Complete build success tested to respect superbuild requested compiler (set default CC=/dev/null and CXX=/dev/null to force errors)

Delivery Mechanism

As part of the CMake build system

References

http://www.na-mic.org/Bug/view.php?id=2007