On Satterday, 1. M�rz 2002 22:55:48, Thomas Dodd wrote:
> Anyone get these to compile with XFree86-4.2.0 and DRI?
Yes, SPECviewperf worked out of the box, GLperf never tried.
Got SPECviewperf running several times for testing the tdfx driver since
'2000.
I only changed CDEBUGFLAGS in makefile.linux for better Athlon optimization.
CDEBUGFLAGS = -O -mcpu=k6 -pipe -mpreferred-stack-boundary=2
-malign-functions=4 -fschedule -insns2 -fexpensive-optimizations
I recompiled it for you, again:
time make -f makefile.linux
[-]
cc -o viewperf objs/Env.o objs/clock.o objs/texture.o objs/viewperf.o
objs/eD.o objs/eI.o objs/eDM.o objs/eIM.o objs/eDA.o objs/eIA.o objs/eDMA.o
objs/eIMA.o objs/eDW.o objs/eIW.o objs/eDMW.o objs/eIMW.o objs/eDAW.o
objs/eIAW.o objs/eDMAW.o objs/eIMAW.o -L/usr/X11R6/lib -Lobjs -Lvpaux/libaux
-Lvpaux/libtk -L/usr/lib -L/usr/lib -lvp -lm -lX11 -lXext -laux -lGL -lGLU
-lz -lpng
98.720u 11.090s 1:59.23 92.0% 0+0k 0+0io 360218pf+0w
> It's not finding GL includes, but I'm not sure where to
> change them, or where to point them. I have /usr/include/GL
> form glut-3.7 and /usr/X11R6/include/GL from XFree86.
>
> glut.h tries to include <GL/gl.h> but doesn't find it.
You do _NOT_ need GLUT at all, at least for SPECviewperf.
LSB (OpenGL) say:
/usr/include/GL -> /usr/X11R6/include/GL
viewperf-6.2.1/src> l /usr/include/GL/
insgesamt 509
drwxr-xr-x 2 root root 480 M�r 2 21:19 .
drwxr-xr-x 6 root root 448 Feb 6 02:40 ..
-r--r--r-- 1 root root 7828 Jan 21 18:56 GLwDrawA.h
-r--r--r-- 1 root root 4433 Jan 21 18:56 GLwDrawAP.h
-r--r--r-- 1 root root 2309 Jan 21 18:56 GLwMDrawA.h
-r--r--r-- 1 root root 2311 Jan 21 18:56 GLwMDrawAP.h
-r--r--r-- 1 root root 87610 M�r 2 21:19 gl.h
-rw-r--r-- 1 root root 10208 Sep 24 00:42 gle.h
-r--r--r-- 1 root root 225136 M�r 2 21:19 glext.h
-r--r--r-- 1 root root 15916 M�r 2 21:19 glu.h
-rw-r--r-- 1 root root 30028 Jun 15 2000 glut.h
-r--r--r-- 1 root root 7114 M�r 2 21:19 glx.h
-r--r--r-- 1 root root 23930 M�r 2 21:19 glxext.h
-r--r--r-- 1 root root 2543 M�r 2 21:19 glxint.h
-r--r--r-- 1 root root 2453 M�r 2 21:19 glxmd.h
-r--r--r-- 1 root root 51727 M�r 2 21:19 glxproto.h
-r--r--r-- 1 root root 8366 M�r 2 21:19 glxtokens.h
-r--r--r-- 1 root root 8266 M�r 2 21:19 osmesa.h
> Is glut wrong
I point my fingers on your GLUT include dir.
My glut.h is very old but current and I copied it over from glut-3.7 include
into /usr/X11R6/include/GL as you can see above. I think you can grep it from
the DRI site, too.
> or is the Makefile just not getting the right paths?
I don't think so.
Last thing:
If you are using tcsh there is a little bug in AWadvs-04/AWadvs-04.csh
(missing "-f"):
#! /bin/csh
# filename: AWadvs04.csh
[-]
Should be:
#! /bin/csh -f
# filename: AWadvs04.csh
Regards,
Dieter
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel