Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
git clone --recursive https://github.com/BIC-MNI/minc-toolkit-v2.git
mkdir minc-toolkit-v2-build
cd minc-toolkit-v2-build/
# see https://github.com/BIC-MNI/minc-toolkit-v2 for complete cmake/ccmake build instructions
# cmake -DCMAKE_INSTALL_PREFIX=/path/to/install/all-minc-tools/ ../minc-toolkit-v2 
make
make test
make install
cd ..

2) install Coin3D:

Code Block
hg clone https://bitbucket.org/Coin3D/coin
cd coin
hg update CMake
cd ../
mkdir coin-build
cd coin-build
cmake -DCMAKE_INSTALL_PREFIX=/path/to/install/all-minc-tools/ -DCMAKE_BUILD_TYPE=Release ../coin 
make
make install
cd ..

3) Qt4 - get those through the system libraries

...

Code Block
cd ..
mkdir quarter-build
cd quarter-build
export PATH=/path/to/install/all-minc-tools/bin:$PATH
export LD_LIBRARY_PATH=/path/to/install/all-minc-tools/lib
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/path/to/install/all-minc-tools/ ../quarter
make
make install
cd ..

5) Boost - system packages

...

Code Block
git clone https://github.com/BIC-MNI/bicInventor.git
cd bicInventor/
./autogen.sh
./configure --prefix=/path/to/install/all-minc-tools/ --with-build-path=/path/to/install/all-minc-tools/ --with-minc2
make
make install
cd ..

8) brain-view2

Code Block
git clone https://github.com/Mouse-Imaging-Centre/brain-view2.git
cd brain-view2/
qmake MINCDIR=/path/to/install/all-minc-tools/ INVENTORDIR=/path/to/install/all-minc-tools/ QUARTERDIR=/path/to/install/all-minc-tools/ HDF5DIR=/path/to/install/all-minc-tools/ brain-view2.pro
make
cp brain-view2 /path/to/install/all-minc-tools/bin/
cd ..

 

Installation

In order to install brain-view on Mac OSX mountain lion you will need to take the following steps. The installation on a Linux-based OS such as ubuntu will follow similar steps but probably with less headache!

...