Versions Compared


  • 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:

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


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


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



7.Install minc-2

$./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


 $sudo make installhdf5

$ make

$ sudo make install


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


$./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


 $sudo make install


9. Install oobicpl

10. Install 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: