Re: [Flightgear-devel] ISO C++ forbids declaration [...]

2005-10-10 Thread Martin Spott
Martin Spott wrote: > Applying this patch: > > --- ./simgear/screen/extensions.hxx~ Sun Oct 9 21:35:31 2005 > +++ ./simgear/screen/extensions.hxx Sun Oct 9 21:35:31 2005 > @@ -446,7 +446,7 @@ > typedef GLXContext (*glXCreateContextWithConfigProc) (Display *dpy, > GLXFBConfig config, int r

Re: [Flightgear-devel] ISO C++ forbids declaration [...]

2005-10-09 Thread Martin Spott
Martin Spott wrote: > Applying this patch: > > --- ./simgear/screen/extensions.hxx~ Sun Oct 9 21:35:31 2005 > +++ ./simgear/screen/extensions.hxx Sun Oct 9 21:35:31 2005 > @@ -446,7 +446,7 @@ > typedef GLXContext (*glXCreateContextWithConfigProc) (Display *dpy, > GLXFBConfig config, int r

Re: [Flightgear-devel] ISO C++ forbids declaration [...]

2005-10-09 Thread Martin Spott
> On Wed, Oct 05, 2005 at 02:42:32PM +, Martin Spott wrote: >> does anyone have an idea what's wrong here ? [...] >> ../../simgear/screen/extensions.hxx:449: error: `GLXPbufferSGIX' has >> not been declared Gerhard Wesp wrote: > Well, what's GLXPbufferSGIX? I'm not familiar with the OpenGL

Re: [Flightgear-devel] ISO C++ forbids declaration [...]

2005-10-05 Thread Andy Ross
Gerhard Wesp wrote: > Well, what's GLXPbufferSGIX? I'm not familiar with the OpenGL > naming conventions, but it definitely sounds like an unsupported > extension being used here. OpenGL extensions are queriable at runtime, so it won't actually be used. But the types and function signatures requ

Re: [Flightgear-devel] ISO C++ forbids declaration [...]

2005-10-05 Thread Andy Ross
Martin Spott wrote: > ../../simgear/screen/extensions.hxx:449: error: `GLXPbufferSGIX' has > not been declared This is a type (not a function) that is defined in in /usr/include/GL/glext.h, which your header apparently lacks. The header is actually defined by the OpenGL ARB, so it should work to

Re: [Flightgear-devel] ISO C++ forbids declaration [...]

2005-10-05 Thread Gerhard Wesp
On Wed, Oct 05, 2005 at 02:42:32PM +, Martin Spott wrote: > does anyone have an idea what's wrong here ? Well, what's GLXPbufferSGIX? I'm not familiar with the OpenGL naming conventions, but it definitely sounds like an unsupported extension being used here. -Gerhard -- o

[Flightgear-devel] ISO C++ forbids declaration [...]

2005-10-05 Thread Martin Spott
Hello, does anyone have an idea what's wrong here ? make[3]: Entering directory `/usr/local/src/SimGear/simgear/environment' g++ -mcpu=hypersparc -mtune=hypersparc -DHAVE_CONFIG_H -I. -I. -I../../simgear -I../.. -I/opt/gnu/include -I/usr/local/include -I/opt/FlightGear/include -O3 -D_REENTRAN