Difference between revisions of "SimpleITK with Slicer4"

From NAMIC Wiki
Jump to: navigation, search
(Created page with 'Instructions on how to build Slicer4 with Simple ITK:')
 
(Untested, rough draft)
Line 1: Line 1:
 
Instructions on how to build Slicer4 with Simple ITK:
 
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'''

Revision as of 14:37, 28 March 2012

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