Setting up AmiraDev to compile Felix's source hxskeletonize/hxgrapheditor ====== Amira 5.2.2 ====== * Use Wizard to make a new amiradev folder e.g. ~/dev/amiradev this is $AMIRA_LOCAL * replace $AMIRA_LOCAL/src with checkout of felix's svn * Install binary qt 4.3.4 (qt-mac-opensource-4.3.4.dmg from trolltech/mirrors) * Get headers from qt tarball (qt-mac-opensource-src-4.3.4.tar.gz) * (or just compile/install qt-mac-opensource-src-4.3.4 rather than using binary installer) AMIRA_LOCAL=/Users/jefferis/dev/amiradev # or wherever cd $AMIRA_LOCAL mv src src.orig # this is ok so long as there are no packages with conflicting names git svn --username greg clone https://basfly.zoo.cam.ac.uk/repos/amira src ln /usr/bin/moc $AMIRA_LOCAL/bin/arch-MacX-Optimize/ # or wherever the qt include files live ln $HOME/dev/qt-mac-opensource-src-4.3.4/include /Applications/Amira-5.2.2/include/arch-MacX/qt cd hxskeletonize make MAKE_CFG=Optimize ====== Amira 5.3 ====== * Installed qt-mac-opensource-4.5.3.dmg (based on checking libs supplied with amira). This goes into /Developer and /usr * made sure moc was relinked * Downloaded qt-mac-opensource-src-4.5.3.tgz (just want the headers) * ''ln -s $HOME/dev/Qt/qt-mac-opensource-src-4.5.3/include /Applications/Amira-5.3.0/include/arch-MacX/qt'' * Currently not compiling because include files are not found. Changing ''INCLUDES'' in **Package** file results in different complaints - it's as if only the last path in INCLUDES is used. ====== Amira 5.3.2 ====== * Installed qt-mac-opensource-4.5.3.dmg (based on checking libs supplied with amira). This goes into /Developer and /usr * made sure moc was relinked * Downloaded qt-mac-opensource-src-4.5.3.tgz (just want the headers) * ''ln -s $HOME/dev/Qt/qt-mac-opensource-src-4.5.3/include /Applications/Amira-5.3.2/include/arch-MacX/qt'' * run AmiraDev wizard to make build system * Change the "Package" file defined in the hxskeletonize (see git repo) cd hxgrapheditor make MAKE_CFG=Optimize cd .. cd hxskeletonize make MAKE_CFG=Optimize