FRAT/Install Guide: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
Line 33: Line 33:


== Dependencies ==
== Dependencies ==
* FRAT is configured and build using [http://www.cmake.org/ CMake]. A basic understanding of CMake is assumed. Documentation and tutorials can be found at [http://www.cmake.org/cmake/help/documentation.html].
* FRAT is configured and built using [http://www.cmake.org/ CMake]. A basic understanding of CMake is assumed. Documentation and tutorials can be found at [http://www.cmake.org/cmake/help/documentation.html]. In this walkthrough, we demonstrate configuration at the linux command line. The CMake GUI can also be used in Windows or Linux.
* FRAT requires a full setup of the Insight Toolkit (ITK), the GenerateCLP module from Slicer3, and a working FFTW setup. The easiest way to get ITK and GenerateCLP is to do a complete install of Slicer3. For build instructions, go [http://www.slicer.org/slicerWiki/index.php/Slicer3:Build_Instructions here]. For FFTW installation instructions, go [http://www.fftw.org/fftw2_doc/fftw_6.html here].
* FRAT requires a full setup of the Insight Toolkit (ITK), GenerateCLP, and a working FFTW setup. The easiest way to get ITK and GenerateCLP is to do a complete install of TubeTK. For build instructions, go [http://www.vtk.org/Wiki/TubeTK/Development/Build here]. For FFTW installation instructions, go [http://www.fftw.org/fftw2_doc/fftw_6.html here].


== Download FRAT Source Code ==
== Download FRAT Source Code ==
Line 44: Line 44:
* After cloning you should now have a FRAT_DIR/frat/ directory
* After cloning you should now have a FRAT_DIR/frat/ directory


== Set up build ==
== Configure build ==
 
* First, create a build directory and enter it. Typically this will live alongside the source directory.
mkdir build
cd build
* Now, use cmake to configure the build
ccmake FRAT_DIR/frat
* You will now be presented with the cmake configuration interface. Press 'c' to run the initial configuration.
* 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:
ITK_DIR            TubeTK_BUILD_DIR/GenerateCLP-Build
GenerateCLP_DIR    TubeTK_BUILD_DIR/Insight-Build
|-
|-
|}
|}

Revision as of 22:02, 10 August 2011

__NOTITLE__


(F)luid (R)egistration and (A)tlas (T)oolkit


Home




For Users




For Developers




Contact Us

Installation

WARNING: FRAT is currently a work in progress and is under no mandate to maintain backward compatibility.

Dependencies

  • FRAT is configured and built using CMake. A basic understanding of CMake is assumed. Documentation and tutorials can be found at [1]. In this walkthrough, we demonstrate configuration at the linux command line. The CMake GUI can also be used in Windows or Linux.
  • FRAT requires a full setup of the Insight Toolkit (ITK), GenerateCLP, and a working FFTW setup. The easiest way to get ITK and GenerateCLP is to do a complete install of TubeTK. For build instructions, go here. For FFTW installation instructions, go here.

Download FRAT Source Code

NOTE: Currently FRAT is available only as source. Binary executables may be available in the future.

  • Create the directory for your FRAT setup. We'll refer to it as FRAT_DIR for the sake of clarity.
  • In FRAT_DIR, clone the repository
cd FRAT_DIR
git clone git://gitorious.org/frat/frat.git
  • After cloning you should now have a FRAT_DIR/frat/ directory

Configure build

  • First, create a build directory and enter it. Typically this will live alongside the source directory.
mkdir build
cd build
  • Now, use cmake to configure the build
ccmake FRAT_DIR/frat
  • You will now be presented with the cmake configuration interface. Press 'c' to run the initial configuration.
  • 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:
ITK_DIR            TubeTK_BUILD_DIR/GenerateCLP-Build
GenerateCLP_DIR    TubeTK_BUILD_DIR/Insight-Build