FRAT/Install Guide: Difference between revisions
From KitwarePublic
< FRAT
Jump to navigationJump to search
No edit summary |
|||
Line 53: | Line 53: | ||
* You will initially be presented with errors since the paths to ITK and GenerateCLP probably won't be immediately found. | * You will initially be presented with errors since the paths to ITK and GenerateCLP probably won't be immediately found. | ||
* If you built ITK and GenerateCLP by building TubeTK (assuming TubeTK built with SuperBuild in TubeTK_BUILD_DIR), set the paths as: | * If you built ITK and GenerateCLP by building TubeTK (assuming TubeTK built with SuperBuild in TubeTK_BUILD_DIR), set the paths as: | ||
ITK_DIR | ITK_DIR TubeTK_BUILD_DIR/GenerateCLP-Build | ||
GenerateCLP_DIR | GenerateCLP_DIR TubeTK_BUILD_DIR/Insight-Build | ||
* By default, only the test applications are enabled. To build the entire toolkit, set | |||
COMPILE_APPLICATIONS ON | |||
COMPILE_TESTING ON | |||
* For further control, individual executables (tests and applications) can be enabled or disabled in the advanced options. Press (t) to toggle the advanced view on. | |||
* Once the option to generate is presented, press (g) to generate the build files | |||
== Build == | |||
* This is the easy part. Just run make (optionally with a -j flag for parallel compilation) | |||
make -j4 | |||
* To build the Doxygen documentation, enable BUILD_DOCUMENTATION in CMake and build the "doc" target | |||
make doc | |||
|- | |- | ||
|} | |} |
Revision as of 22:08, 10 August 2011
__NOTITLE__
|
InstallationWARNING: FRAT is currently a work in progress and is under no mandate to maintain backward compatibility. Dependencies
Download FRAT Source CodeNOTE: Currently FRAT is available only as source. Binary executables may be available in the future.
cd FRAT_DIR git clone git://gitorious.org/frat/frat.git
Configure build
mkdir build cd build
ccmake FRAT_DIR/frat
ITK_DIR TubeTK_BUILD_DIR/GenerateCLP-Build GenerateCLP_DIR TubeTK_BUILD_DIR/Insight-Build
COMPILE_APPLICATIONS ON COMPILE_TESTING ON
Build
make -j4
make doc |