Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: brain-view installation instructions for mac and linux OS

...

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!

 

0. Install X11 and Xcode (This step is only required for Mac OSX which doesn't have a C/C++ compiler pre-installed on it)

install X11 from XQuartz2.7.3 project: http://xquartz.macosforge.org/landing/

Install Xcode 4.4.1 from apple store: https://developer.apple.com/xcode/ . This contains gcc and llvm compilers + the IDE.
Install command tools from inside Xcode session.

...

tar -xvf boost_1_47
cd boost_1_47
./bootstrap.sh --prefix=/usr/local/
./b2 install

 

6. install bicInventor (require GL libraries /opt/X11/include/GL/ )wget Install netCDF3

http://packageswww.bicunidata.mniucar.mcgill.caedu/tgzdownloads/bicInventor-0.3.1.tar.gz
 netcdf/netcdf-3_6_3/index.jsp

or http://packages.bic.mni.mcgill.ca/tgz/

7.Install minc-2

http://www.bic.mni.mcgill.ca/ServicesSoftware/MINC

$./configure --prefix=/usr/local/ --with-with-build-path=/usr/local/:/usr/local/hdf5/ --includedir=/usr/local/include --libdir=/usr/local/lib --with-minc2 LDFLAGS="-L/Library/Frameworks/Inventor.framework/Versions/C/Libraries" --x-includes=/usr/X11/include --x-libraries=/usr/X11/lib

 $make

 $sudo make installhdf5

$ make

$ sudo make install

 

8. Install bicInventor (require GL libraries /opt/X11/include/GL/ )

wget http://packages.bic.mni.mcgill.ca/tgz/bicInventor-0.3.1.tar.gz
 

$./configure --prefix=/usr/local/ --with-build-path=/usr/local/:/usr/local/hdf5/ --includedir=/usr/local/include --libdir=/usr/local/lib --with-minc2 LDFLAGS="-L/Library/Frameworks/Inventor.framework/Versions/C/Libraries" --x-includes=/usr/X11/include --x-libraries=/usr/X11/lib

 $make

 $sudo make install

 

9. Install oobicpl

http://packages.bic.mni.mcgill.ca/tgz/

10. Install pcre++

http://www.daemon.de/PCRE

Finally, the actual installation of brain-view as mentioned above.

 


Many thanks to Mishkin Derakhshan for sending his travails in building brain-view2 to the minc-users list - his message is reproduced below:

...