multimodereg:BRAINSFit Build
From NITRC Wiki
=Process of Building and Installing BRAINSFit as a stand-alone application (2010-04-20):
Overview:
- 1. Build and install CMake version 2.8 or greater (Verify with "cmake --version")
- 2. Download BRAINSFitStandAloneBranch
- 3. Build and install BRAINSFit
- * Note: Instructions for building and installing cmake can be found at www.cmake.org
Building the BRAINSFit application:
- * Enter the following commands from the command line via the terminal application.
- Create an empty Directory to hold the source directory
- mkdir BRAINSFit_Files
- Move into the newly created directory
- cd BRAINSFit_Files
- Obtain the BRAINSFitStandAlone source code from NITRC website and check out a working copy
- svn checkout --username namictraining https://www.nitrc.org/svn/multimodereg//branches/BRAINSFitStandAlone BRAINSFitStandAlone
- Password: namictraining
- Build BRAINSFit with command:
- mkdir BRAINSFitStandAlone-build
- cd BRAINSFitStandAlone-build
- ccmake ../BRAINSFitStandAlone
- Set "CMAKE_BUILD_TYPE" to "Release", then configure and generate the build environment
- make -j2
- * Note: The previous commands acquires all the source code for supporting libraries, compiles them, and then
- compiles the application using CMake. All the libraries and binaries should be in BRAINSFitStandAlone-build/[bin|lib|include]
- To run a test enter:
- make test








