Installing Stage/Player on Ubuntu
=================================

These are my notes while installing Stage/Player on Ubuntu 10.04.


Installing dependencies
-----------------------

Miscellaneous packages for development:

    $ sudo apt-get install g++ build-essential libcairo2-dev libgsl0-dev subversion git-core libtool  

Prerequisites for Player:

    $ sudo apt-get install cmake libhighgui-dev libraw1394-dev libdc1394-22-dev libcv4 libcv-dev libcvaux4 libcvaux-dev  libgnomecanvas2-dev python-opencv libxmu-dev swig libboost-all-dev


Prerequisites for Stage:

    $ sudo apt-get install libfltk-dev libglu-dev



Installing Player
-----------------

Download from Sourceforge:
    
    http://sourceforge.net/projects/playerstage/files/Player/3.0.2/player-3.0.2.tar.gz/download

Unpack, create build directory:

    $ tar xvzf player-3.0.2.tar.gz
    $ cd player-3.0.2
    $ mkdir build
    $ cd build
    
Compile and install:

    $ cmake .. -DBUILD_PYTHONC_BINDINGS=ON -DBUILD_PYTHONCPP_BINDINGS=ON 
    $ make
    $ sudo make install


Installing Stage
-----------------

Download from Sourceforge:
    
    http://sourceforge.net/projects/playerstage/files/Stage/3.2.2/Stage-3.2.2-Source.tar.gz/download

Unpack, create build directory:

    $ tar xvzf Stage-3.2.2-Source.tar.gz
    $ cd Stage-3.2.2-Source
    $ mkdir build
    $ cd build

Compile and install:

    $ cmake ..
    $ make
    $ sudo make install
    
    


