Page 1 of 1

0.7.1 Source - Ubuntu Linux - Can't compile

PostPosted: 18 Apr 2011, 03:48
by fra9000
Hi guys,

I'm used to compile each version of STK..recently I switched to Ubuntu 11.04 beta and tried to compile 0.7.1 version..

I've installed the following dependencies:

libopenal-dev
libopenal1
libogg-dev
libvorbis-dev
irrlicht1.8
irrlicht1.8-dev
libcurl3
libcurl4-openssl-dev

./configure runs without any problem

make runs but eventually reports:

states_screens/race_gui_base.cpp:31:21: fatal error: GL/gl.h: No such file or directory
compilation terminated.
make[2]: *** [race_gui_base.o] Error 1
make[2]: Leaving directory `/home/epoc/Desktop/supertuxkart-0.7.1/src'


any suggestion? Have I missed some dependencies?

ty in advance

Re: 0.7.1 Source - Ubuntu Linux - Can't compile

PostPosted: 18 Apr 2011, 04:02
by Arthur
Do you have working 3D acceleration? Do other 3D games (e.g. ExtremeTuxRacer, 0 A.D or others) work?

Re: 0.7.1 Source - Ubuntu Linux - Can't compile

PostPosted: 18 Apr 2011, 04:06
by fra9000
my glxinfo response:

epoc@hal9000:~/Desktop/supertuxkart-0.7.1$ glxinfo
name of display: :0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: ATI
server glx version string: 1.4

so direct rendering works..
I have ati catalyst drivers enabled..but I haven't tried any other game yet..I can try to restart with Gallium3D drivers..

Re: 0.7.1 Source - Ubuntu Linux - Can't compile

PostPosted: 18 Apr 2011, 04:15
by fra9000
using gallium3D driver doesn't resolve the issue..

btw, ty for the quick reply arthur ;)

Re: 0.7.1 Source - Ubuntu Linux - Can't compile

PostPosted: 18 Apr 2011, 04:25
by fra9000
ok i've managed to fix it...

I've installed freeglut3-dev...I thought it was installed by default..

my fault..

Re: 0.7.1 Source - Ubuntu Linux - Can't compile

PostPosted: 18 Apr 2011, 13:39
by Arthur
Glad you sorted it out. :)