HomeForumsWhat's newResources 
 
 
OpenGL Linux
slinga - Jul 22, 2005
 slinga Jul 22, 2005
Hey guys,

I have a ATI Radeon X300 running on SuSE 9.3. I installed the fglrx drivers, ran SaX, and SuSE seems to accept the drivers. Glxgears gives me the following output:


  
	
	
9182 frames in 5.0 seconds = 1836.400 FPS

9439 frames in 5.0 seconds = 1887.800 FPS

9439 frames in 5.0 seconds = 1887.800 FPS

9440 frames in 5.0 seconds = 1888.000 FPS

9439 frames in 5.0 seconds = 1887.800 FPS

9440 frames in 5.0 seconds = 1888.000 FPS

9375 frames in 5.0 seconds = 1875.000 FPS



Prior to installing the driver I was getting FPS in the range of ~125. This leads me to believe that the card is working properly. I still can't install Yabause though, it gives this error:


  
	
	
Making all in src

make[1]: Entering directory `/home/poberoi/yabause/src'

source='memory.cc' object='memory.o' libtool=no \

depfile='.deps/memory.Po' tmpdepfile='.deps/memory.TPo' \

depmode=gcc3 /bin/sh ../depcomp \

g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"yabause\" -DVERSION=\"0.0.7\" -DHAVE_LIBGL=1 -DSTL_LEFT_RIGHT=1 -I. -I. -g -O2 -I/usr/include/SDL -D_REENTRANT -c -o memory.o `test -f 'memory.cc' || echo './'`memory.cc

In file included from registres.hh:22,

from memory.cc:21:

vdp1.hh:31:19: GL/gl.h: No such file or directory

In file included from vdp1.hh:35,

from registres.hh:22,

from memory.cc:21:

vdp2.hh:34:19: GL/gl.h: No such file or directory

In file included from vdp1.hh:35,

from registres.hh:22,

from memory.cc:21:

vdp2.hh:71: error: syntax error before `[' token

In file included from registres.hh:22,

from memory.cc:21:

vdp1.hh:59: error: 'GLuint' is used as a type, but is not defined as a type.

vdp1.hh:79: error: syntax error before `[' token

make[1]: *** [memory.o] Error 1

make[1]: Leaving directory `/home/poberoi/yabause/src'

make: *** [all-recursive] Error 1



Anybody know anything?

 antime Jul 22, 2005
Either you don't have the necessary development packages installed, or something's misconfigured so the compiler can't find the header files.

 it290 Jul 23, 2005
Yeah, make sure your PREFIX is configured correctly (ie /usr or /usr/local). Also you can make some symlinks to point the files to the right location.

 slinga Jul 24, 2005
I needed the Mesa devel package. Have no clue what it is or why, but Yabause compiles now. Thanks.

 dibz Jul 24, 2005
Its a opengl library for linux, devel means its the development version (for compiling).

 it290 Jul 24, 2005
Ah, weird, I thought all the GL stuff was included with X these days.

 antime Jul 25, 2005
It is, but often the development packages aren't installed by default. In SuSE, it seems you need the package xorg-x11-Mesa-devel.... On Fedora, you need xorg-x11-devel....