[GRASSLIST:3944] Errors compiling GRASS 5.7 with openGL
abernatj at yahoo.com
Sat Jul 17 07:28:34 EDT 2004
I've run into errors when I run make. I ran configure, setting
with-opengl=true, and got no errors. When I run make I get the
[... many lines of normal compile messages ...]
make: Entering directory `/home/Andy/sources/grass-5.7.0/lib/ogsf'
-I/home/Andy/sources/grass-5.7.0/dist.i686-pc-linux-gnu/include -g -O2
-Wall -Wconversion -Wno-implicit-int -fPIC -I/usr/local/include
-o OBJ.i686-pc-linux-gnu/GK2.o -c GK2.c
In file included from /usr/X11R6/include/GL/gl.h:36,
/usr/X11R6/include/GL/Enumerations.H:178: error: parse error before
/usr/X11R6/include/GL/Enumerations.H:178: warning: data definition has
no type or storage class
/usr/X11R6/include/GL/Enumerations.H:181: error: parse error before
[.... Many more similar lines ...]
I'm running SuSE 9.0 with an NVIDIA graphics card. OpenGL seems to be
installed correctly because 3Ddiag reports no errors and other opengl
applications work fine. Any suggestions are greatly appreciated.
Thanks in advance.
More information about the grass-user