From b7ecf21b31c72759fbbf73c0f176379a770e5792 Mon Sep 17 00:00:00 2001 From: mbjornstk Date: Mon, 21 Sep 2009 22:35:18 +0000 Subject: [PATCH] Update to talk about newer Ubuntu with Irrlicht branch. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4036 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- INSTALL | 35 ++++++++++++++++++++++------------- 1 file changed, 22 insertions(+), 13 deletions(-) diff --git a/INSTALL b/INSTALL index b0f499499..bac6933f2 100644 --- a/INSTALL +++ b/INSTALL @@ -7,7 +7,7 @@ General First, make sure that you have the following packages installed: * OpenGL (or Mesa 3.0 or later) - * PLIB version 1.8.4 or later + * Irrlicht 1.5 * SDL 1.2 or later * OpenAL @@ -36,21 +36,33 @@ location, use the "--prefix" option of configure, e.g. --prefix=/usr See the --help output of configure for further options. -SVN STK on Ubuntu Edgy ----------------------- -Here are the compilation instructions for the current svn(05 oct. 2006) of -Super Tux Kart on Ubuntu Edgy, contributed by Damien: +SVN STK on Ubuntu +----------------- +Here are the compilation instructions for the current svn(2009-09-21) of +Super Tux Kart originally contributed by Damien for Ubuntu Edgy, and updated +to 9.04 version: install following packages: -# apt-get install libopenal-dev libmikmod2-dev +# apt-get install libtool libxxf86vm-dev libopenal-dev libglu1-mesa-dev subversion autoconf automake1.9 g++ gcc do a: -$ svn checkout http://supertuxkart.svn.sourceforge.net/svnroot/supertuxkart/trunk/supertuxkart +$ svn checkout https://supertuxkart.svn.sourceforge.net/svnroot/supertuxkart/main/branches/irrlicht -then: +Get irrlicht-1.5.zip and unzip it, then replace versions with newer ones: +$ cp irrlicht/irrlicht_1.5_update/include/IVideoDriver.h irrlicht-1.5/include/ +$ cp irrlicht/irrlicht_1.5_update/source/Irrlicht/COpenGLDriver.* irrlicht-1.5/source/Irrlicht/ + +Compile irrlicht: +$ cd irrlicht-1.5/source/Irrlicht/ +$ make +$ cd ../../.. +$ pwd +/some/path/ + +then we can move to stk, remember to replace the output of pwd below: $ cd trunk -$ ./autogen.sh && ./configure && make +$ ./autogen.sh && ./configure --enable-irrlicht --with-irrlicht=/some/path/irrlicht-1.5/ && make and if all went well: $ src/supertuxkart @@ -71,14 +83,11 @@ http://supertuxkart.sourceforge.net/ Also, the most common (by FAR) reason for problems is that your OpenGL/Mesa -is incorrectly installed - so before you complain to any of the PLIB or +is incorrectly installed - so before you complain to any of the Irrlicht or Supertuxkart mailing lists, first try running one of the example programs that comes with your OpenGL implementation - or one of the Mesa or GLUT sample programs. -If you those examples run OK - then go to the PLIB home page and download -the PLIB examples. - If THOSE run correctly - but Supertuxkart doesn't then please get in touch with the SupertuxKart mailing list and we'll do our best to get you up and racing.