Some work related to my research ...

Tuesday, October 20, 2009

Installing Player/Stage on Ubuntu Jaunty64bit

My system:

$ uname -a
Linux swg-desktop 2.6.28-14-generic #47-Ubuntu SMP Sat Jul 25 01:19:55 UTC 2009 x86_64 GNU/Linux


First install following packages using synaptic packet manager:

python-gdal netcdfg-dev libpq-dev libhdf4g-dev libgeos-dev libatk1.0-0 lib3ds-dev freeglut3-dev

Apart from this, you would need following more packages:

1. Opencv
2. Gtk
3. libtool
4. libboost
5. GDKpixbuf
6. G++
7. Glut/OpenGL
8. GSL
9. libdevice
10. Gnomecanvas
11. imagemagick
12. Swig
13. Ruby
14. libstatgrab
15. libXmu
16. xmms

Don't forget to install development packages (-dev) for these packages.


In order to install xmms, follow the instructions given here .

I downloaded the player-3.0.0-rc1 and stage-3.1.0-Sources packages from sourceforge site .

Untar these packages and follow the instructions given in README.txt and INSTALL.txt files. Once you have installed the files correctly, you should check if you are able to execute simple commands as mentioned in the player/stage homepage. Instructions for installing Player is given here . Follow this link to find out if player/stage is installed correctly and instructions for Stage installing is given here .

Basically, you should be able to the run the following command successfully. Go to the stage source folder.

$ which stage
/usr/local/bin/stage

$ cd Stage-3.1.0-Source
$ stage worlds/simple.world

This should give you following animation screen :


In case you get an error saying shared library could not be loaded, you need to include the folder containing player/stage libraries (/usr/local/lib) into the file /etc/ld.so.conf and then run following command on terminal :

$ sudo ldconfig


for Stage 3.1.0, install libfltk1.1.x, libpng, libtool (libtdl) and opengl libraries. Read the INSTALL.txt file inside the source package.


I also tried installing it on a 32 bit Jaunty and it works fine. The configuration is as follows:

Linux swg-laptop 2.6.28-14-generic #47-Ubuntu SMP Sat Jul 25 00:28:35 UTC 2009 i686 GNU/Linux

I faced problem while installing this on Ubuntu Intrepid (8.10). While everything compiled properly, it gave me an error like "Insufficient GL support" when I tried to execute the stage command. The problem was allegedly with unsupported ATI drivers.

No comments: