[MINC-users] brain-view 0.8 on Ubuntu precise ...

Claude LEPAGE claude at bic.mni.mcgill.ca
Tue Apr 16 19:21:30 EDT 2013


Hi,

Beware that there is the old brain-view-0.8.0 and there is Jason's new
brain-view2 (what Mishkin is talking about). The former is based on 
Coin3d, Qt3/Qt4, simage. 

For the old brain-view-0.8.0:

       @echo "For brain-view, adding the following:"
       @echo "       NEW WAY: libsimage-dev libsoqt4-dev libqt4

I recently added the compilation of SOQT as part of my build. Make that
SoQt-1.4.2a.

$(SOQT):     $(SOQT_UNTAR)
        cd ${SOURCE_DIR}/${SOQT_PACKAGE} ; \
        QTINC=/usr/lib64/qt4/include ; export QTINC ; \
        QTDIR=/usr/lib64/qt4 ; export QTDIR ; \
        QTILIB=/usr/lib64/qt4/lib64 ; export QTLIB ; \
        export PATH=/usr/lib64/qt4/bin:${PATH} ; \
        if [ ! -e Makefile ] ; then \
         ./configure --prefix=$(PREFIX_PATH) --with-build-path=$(BUILD_PATH); \
        fi ; \
        ${MAKE}; ${MAKE} install

$(BRAINVIEW):   $(BRAINVIEW_UNTAR)      $(M4_UNTAR) $(LIBBICINVENTOR) $(SOQT)
        cd ${SOURCE_DIR}/${BRAINVIEW_PACKAGE}/ ; \
        if [ ! -d m4 ] ; then ln -fs ../m4 ./m4 ;fi ; \
        if [ ! -e Makefile ] ; then \
           rm -rf textures/brain-view-config ; \
           rm -rf src/brainEnvironment.cc ; \
           ./configure $(MINC_FLAG) --disable-shared --prefix=$(PREFIX_PATH) --with-build-path=$(BUILD_PATH) CFLAGS='${CFLAGS} -DQT3_SUPPORT -I/usr/lib64/qt4/include' CPPFLAGS='${CPPFLAGS} -DQT3_SUPPORT -I/usr/lib64/qt4/include' CXXFLAGS='${CXXFLAGS} -DQT3_SUPPORT -I/usr/lib64/qt4/include' LDFLAGS='${LDFLAGS} -L/usr/lib64/qt4/lib64 -lQt3Support'; \
        fi ; \
        ${MAKE}; ${MAKE} install

Claude


More information about the MINC-users mailing list