Installing Open Scene Graph for Ubuntu 14.04

First install the open scene graph dependencies.

sudo apt-get build-dep openscenegraph

Now from your home directory download the open scene graph source code.

svn co http://svn.openscenegraph.org/osg/OpenSceneGraph/tags/OpenSceneGraph-3.2.1 OpenSceneGraph

Now we need to compile the code. Run the following commands (The make command took about one hour! on my desktop)

./configure
make
sudo make install

The osg libraries are placed in an unusual location so we need to point to it by adding the following command to our .bashrc file.

export LD_LIBRARY_PATH=/usr/local/lib64

Now you should be able to continue to install the anuga_viewer