This page describes how to build Coin 3D SoQt for the Ubuntu 14.04 LTS operating system.
Install the required tools and development libraries:
sudo apt-get install git g++ mesa-common-dev libglu1-mesa-dev freeglut3-dev autoconf autogen doxygen
SoQt works with Qt version 4.8.7. Download qt-everywhere-opensource-src-4.8.7.tar.gz from Qt Downlaods. Build and installation instructions can be found at Qt's web site: Qt Documentation.
After installing Qt v4.8.7, set the QTDIR environment variable:
export QTDIR=/usr/local/Trolltech/Qt-4.8.7
The Coin 3D libraries and header files should be built and installed prior to following these instructions. See Coin3D Build Instructions For Linux for details.
The Wizzer Works SoQt source code resides on Sourceforge (https://sourceforge.net/projects/coin3d-soqt/). It is in a Git repository and the following command can be used to retrieve the source:
git clone git://git.code.sf.net/p/coin3d-soqt/code coin3d-soqt-code
Note that the master branch contains the source from the original SoQt v1.5.0 tar package. The master branch will not be modified unless it is necessary to be maintained (i.e. bug fixes) outside the scope of Magic Lantern.
Build the libraries and distribution elements (i.e. documentation) in a separate directory. Be sure to enable the HTML and man page generation.
mkdir coin3d-soqt-build
cd coin3d-soqt-build
../coin3d-soqt-code/configure --enable-html --enable-man
Build the SoQt library, libSoQt.so:
make
To install the library, header files and documentation, do the following:
make install
The library will be installed in /usr/local/lib/libSoQt.so. The header files will be installed in the /usr/local/include/Inventor/Qt directory. HTML pages are populated in the /usr/local/share/doc/soqt/html directory. The manual pages are installed into /usr/local/man.