Re: [ROOT] compile problems

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Fri May 16 2003 - 15:56:33 MEST


Hi,

 make sure that you have the package Mesa-devel-3.4.2-7 installed
(versions numbers may vary).

Cheers, Fons.



On Fri, 2003-05-16 at 15:52, daan wrote:
> 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
-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480



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