SimpleITK with Slicer4

From NAMIC Wiki
Revision as of 14:37, 28 March 2012 by Dmwelch (talk | contribs) (Untested, rough draft)
Jump to: navigation, search
Home < SimpleITK with Slicer4

Instructions on how to build Slicer4 with Simple ITK:

Linux/Mac

Currently does NOT work with CLang compiler (OSX Lion)

From build directory:

$ cmake /source/dir 
> -DCMAKE_BUILD_TYPE:STRING=Release 
> -DSlicer_BUILD_WITH_ITKv4:BOOL=ON 
> -DSlicer_BUILD_WITH_SIMPLEITK:BOOL=ON 
> -DCMAKE_C_COMPILER:FILEPATH=/usr/bin/gcc-4.2 
> -DCMAKE_CXX_COMPILER:FILEPATH=/usr/bin/g++-4.2 
> -DCMAKE_C_COMPILER_FLAGS=-fPIC 
> -DCMAKE_CXX_COMPILER_FLAGS=-fPIC

Windows

From build directory:

TODO