SimpleITK with Slicer4
From NAMIC Wiki
Home < SimpleITK with Slicer4
Instructions on how to build Slicer4 with Simple ITK:
Linux/Mac
Notes
- Currently does NOT work with CLang compiler (OSX Lion)
- Qt 4.8 is not compatible, use Qt 4.7
- Specify variables using BOTH ccmake and cmake to ensure variable persistance to subproject builds
From build directory:
$ ccmake /source/dir $ cmake . > -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 > -DCMAKE_QT_EXECUTABLE=/path/to/Qt/4.7
Windows
From build directory:
TODO