[GRASSLIST:4115] Re:Re: nviz don

Glynn Clements glynn.clements at virgin.net
Fri Aug 6 06:28:14 EDT 2004


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.

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




More information about the grass-user mailing list