Personal tools
  • Help

brainsroiauto:BRAINSROIAuto Build

From NITRC Wiki

Jump to: navigation, search

How To Build

The only prerequisite software that needs to be on your system is the Tcl Interpreter. If you don't have a Tcl interpreter installed, you can download it from ActiveState

1. Create a working directory for your build. For example

   cd /scratch  # go to a directory you can read and write
   mkdir BRAuto
   cd BRAuto

2. Check out the sourcecode using Subversion:

   svn checkout https://www.nitrc.org/svn/brainsroiauto/trunk BRAINSROIAuto

3. Run the build script, staying in your working directory (in the above example /scratch/BRAuto)

   BRAINSROIAuto/BuildScripts/getbuildtest.tcl

This will create a subdirectory BRAINS-COMPILE, in which all build files will be created. This will require an active internet connection, as the getbuildtest.tcl script goes to the official websites for the CMake build tool and the libraries upon which BRAINSROIAuto depends, download the source code for those packages, and then build them. Once the prerequisite libraries are built, the script then builds BRAINSROIAuto.

The resulting executable program will be put in BRAINS-COMPILE/OSType/DEBUG/bin, where OSType will be one of "SunOS", "Linux" or "Darwin."

Building For Windows32

The included build scripts have not been tested on Windows XP,Vista, or Windows 7. BRAINSROIAuto can be built on Windows. To do so download CMake and ITK and build them. Once ITK and CMake are built and install, BRAINSROIAuto can be configured using CMake, and then built either with GCC or Visual Studio.

Powered by MediaWiki
  • This page was last modified 21:13, 11 September 2009.
  • This page has been accessed 1,794 times.
  •