Setup for Linux

 

Ubuntu 12.04 (Precise):

First add SAT's PPA repository (and some others) to your package manager and then update your package list:

sudo apt-add-repository ppa:sat-metalab/metalab
sudo apt-add-repository ppa:flexiondotorg/flightgear
sudo apt-add-repository ppa:openrave/release #optional
sudo apt-add-repository ppa:v-launchpad-jochen-sprickerhof-de/pcl #optional
sudo apt-get update

Use the following aptitude statement to install all dependencies:

sudo apt-get install doxygen git git-core cmake-curses-gui build-essential \
automake libtool libxml++2.6-dev python-dev python-setuptools \
libboost-dev libboost-filesystem-dev libboost-python-dev \
libboost-regex-dev libboost-thread-dev liblo-dev help2man \
openscenegraph libopenscenegraph-dev libopenthreads-dev \
libboost-program-options-dev libboost-system-dev

(Optional): These dependencies are not required in order to build and run SPIN, but will add support for physics, video textures, point clouds, spacenavigator, streaming, etc.:

sudo apt-get install libpcl-1.5-all libbullet-dev libspnav-dev ffmpeg \
libpoco-dev libshmdata-0.4-dev

A package for cppintrospection is coming, but for now you have to build them from source:

sudo git clone git://code.sat.qc.ca/cppintrospection.git
cd cppintrospection
sudo ./one_step_build.sh
sudo make install

(Optional): You can use spatosc for sound, but there is no package yet for Ubuntu Precise, so you have to build from source:

cd ..
sudo git clone git://code.sat.qc.ca/spatosc.git
cd spatosc
sudo ./one_step_build.sh
sudo make install

 

Ubuntu 10.4 (Lucid):

This is required before installing SAT packages:

sudo apt-get install python-twisted

First add SAT's PPA repository (and some others) to your package manager and then update your package list:

sudo apt-add-repository ppa:sat-metalab/metalab
sudo apt-add-repository ppa:flexiondotorg/flightgear
sudo apt-add-repository ppa:openrave/release #optional
sudo apt-add-repository ppa:v-launchpad-jochen-sprickerhof-de/pcl #optional
sudo apt-get update

Use the following aptitude statement to install all dependencies:

sudo apt-get install doxygen git-core cmake-curses-gui build-essential \
automake libtool libxml++2.6-dev freeglut3-dev python-dev python-setuptools \
libboost-python-dev libboost-thread-dev libboost-regex-dev libboost-filesystem-dev \
ffmpeg libavcodec-dev libavdevice-dev libavformat-dev libswscale-dev \
liblo-dev help2man libcppintrospection-3.0-dev \
libboost-program-options-dev libboost-system-dev



Getting OpenSceneGraph (OSG):

OSG tends to have poor packaging, with variations depending on your configuration. As a first step, try to install OSG like this:

sudo apt-get install openscenegraph libopenscenegraph-dev

On old (< Lucid) systems, this will probably not be enough. In case SPIN configuration fails (not finding OSG), you will need to compile OSG manually.