[GRASSLIST:4157] Re:Re:Re: nviz don

Michele michele.rocc at libero.it
Tue Aug 10 11:05:34 EDT 2004


Dear Glynn,

Thanks for your ansewers,

I see.. so do I have to use something else than mesa or maybe to upgrading this library will fix the problem? 

Michele.

> Michele wrote:
> 
> > The problem seems to be in the "do_zoom" module here's the output:
> 
> > do_zoom.c: In function `Create_OS_Ctx':
> > do_zoom.c:281: `GLX_PBUFFER_WIDTH' undeclared (first use in this function)
> > do_zoom.c:281: (Each undeclared identifier is reported only once
> > do_zoom.c:281: for each function it appears in.)
> > do_zoom.c:283: `GLX_PBUFFER_HEIGHT' undeclared (first use in this function)
> 
> Right; this corresponds to a recent change.
> 
> > maybe it's a debian specific problem?
> 
> No; AFAIK, it applies to anything using Mesa 3.x. The library defines
> glXCreatePbuffer, so configure defines HAVE_PBUFFERS, so do_zoom.c
> tries to use pbuffers, which fails because GLX_PBUFFER_WIDTH/HEIGHT
> aren't defined in the header file.
> 
> For now, the simplest solution is to remove the line:
> 
> 	#define HAVE_PBUFFERS 1
> 
> from src/include/config.h.




More information about the grass-user mailing list