[GRASSLIST:4007] Re: problem compiling new 5.7 source......more problems and info

Glynn Clements glynn.clements at virgin.net
Fri Jul 23 10:33:44 EDT 2004


Andrew wrote:

> deletion of this line allowed the compile to continue until the ' 
> visualization/nviz directory' was reached. I have included the complete 
> error message for the compile at this point, dumped using "make 2> 
> outfile" below.  I was hoping someone could tell me if the first two 
> changes I made will cause problems eventually, and if there is a fix for 
> the errors involving nviz. Thanks for any assistance.
> 
> I am using mesa 3.4.2 source, and the libraries are installed as 
> libGL.so.1.2.0 and libGLU.so.1.2.0 and related symlinks. glx.h is listed 
> in its header as version 1.5.2.2

> >OBJ.i686-pc-linux-gnu/do_zoom.o(.text+0x8f2): In function `Create_OS_Ctx':
> >/misc/grass5/grass-5.7.0/visualization/nviz/src/do_zoom.c:275: undefined reference to `glXChooseFBConfig'
> >OBJ.i686-pc-linux-gnu/do_zoom.o(.text+0x9af):/misc/grass5/grass-5.7.0/visualization/nviz/src/do_zoom.c:287: undefined reference to `glXCreatePbuffer'
> >OBJ.i686-pc-linux-gnu/do_zoom.o(.text+0x9d4):/misc/grass5/grass-5.7.0/visualization/nviz/src/do_zoom.c:288: undefined reference to `glXMakeContextCurrent'
> >OBJ.i686-pc-linux-gnu/do_zoom.o(.text+0xa83): In function `Destroy_OS_Ctx':
> >/misc/grass5/grass-5.7.0/visualization/nviz/src/do_zoom.c:351: undefined reference to `glXDestroyPbuffer'

It may be that the headers don't match the library. Do you have
another set of OpenGL headers installed, e.g. in
/usr/X11R6/include/GL?

OTOH, the test which do_zoom.c uses is wrong. It is basing the
decision on whether to use GLX 1.3 functions on whether or not
GLX_PBUFFER_WIDTH is defined, when it should be testing
GLX_VERSION_1_3.

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-user mailing list