[ROOT] compile problems

From: daan (hubert@hep.iihe.ac.be)
Date: Fri May 16 2003 - 15:52:30 MEST


hi,

i have some trouble compiling ROOT on my machine (gcc 2.95.3, suse 8). i
tried different versions (3.03.09, 3.05.03, 3.05.05) and never succeeded
in compiling the whole source.

i always get following error messages when gmake has just finished
compiling libX3d.so:

...
==> lib/libX3d.so done
g++ -O -pipe -Wall -Woverloaded-virtual -fPIC -Iinclude  -D_REENTRANT
-Iinclude  -o gl/src/TGLKernel.o -c
gl/src/TGLKernel.cxx
In file included from include/TGLKernel.h:30,
                 from gl/src/TGLKernel.cxx:21:
include/TRootGLU.h:23: GL/glu.h: No such file or directory
gl/src/TGLKernel.cxx:40: syntax error before `['
gl/src/TGLKernel.cxx: In method `void TGLKernel::ClearColor(int)':
gl/src/TGLKernel.cxx:75: implicit declaration of function `int
glClearIndex(...)'
gl/src/TGLKernel.cxx: In method `void TGLKernel::ClearGLColor(float,
float, float, float)':
gl/src/TGLKernel.cxx:81: implicit declaration of function `int
glClearColor(...)'
gl/src/TGLKernel.cxx: In method `void TGLKernel::ClearGLColor(float *)':
gl/src/TGLKernel.cxx:87: `GLclampf' undeclared (first use this function)
gl/src/TGLKernel.cxx:87: (Each undeclared identifier is reported only once
gl/src/TGLKernel.cxx:87: for each function it appears in.)
gl/src/TGLKernel.cxx:87: parse error before `='
...
gl/src/TGLKernel.cxx:649: `GL_QUAD_STRIP' undeclared (first use this
function)
gl/src/TGLKernel.cxx: In method `void TGLKernel::PaintCone(Float_t *, int,
int)':
gl/src/TGLKernel.cxx:732: `nextv' undeclared (first use this function)
gl/src/TGLKernel.cxx:732: `exnextv' undeclared (first use this function)
gl/src/TGLKernel.cxx:753: `GL_TRIANGLE_FAN' undeclared (first use this
function)
gmake: *** [gl/src/TGLKernel.o] Error 1
...


this is the point where i arrive every single time i try to compile root.
does anyone of you know what i should do?


grtz,

daan



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:11 MET