SimpleITK with Slicer4

From NAMIC Wiki
Revision as of 19:21, 2 April 2012 by Dmwelch (talk | contribs) (Fixed CMake flag names)
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_ITK_VERSION_MAJOR:INT=4 
> -DSlicer_USE_SimpleITK:BOOL=ON 
> -DCMAKE_C_COMPILER:FILEPATH=/usr/bin/gcc-4.2 
> -DCMAKE_CXX_COMPILER:FILEPATH=/usr/bin/g++-4.2 
> -DCMAKE_C_FLAGS=-fPIC 
> -DCMAKE_CXX_FLAGS=-fPIC

Windows

From build directory:

TODO