On Sun July 31 2005 01:13, Paul Surgeon wrote: > On Saturday, 30 July 2005 23:57, Paul Surgeon wrote: > > There is still a problem. > > > > If I roll back extensions.hxx and RenderTexture.cpp then I can compile > > SimGear. > > I'll try figure out what's causing it but I'm not very strong at C or C++ > > > > Paul > > GLXPbufferSGIX and GLXPbuffer are not defined anywhere in my nVidia GL > headers although they are used throughout the GL headers! > I've checked Mesa - same thing. > > The following lines in extensions.hxx cause a problem because > GLXPbufferSGIX is not defined. > > #ifndef GLXPbuffer > #define GLXPbuffer GLXPbufferSGIX > #endif > > That is why I get a : > ../../simgear/screen/extensions.hxx:441: error: ISO C++ forbids declaration > of `GLXPbufferSGIX' with no type > > This is confusing. > Are GLXPbuffer and GLXPbufferSGIX both supposed to be programmer defined? > On my system, I find that both are defined in GL/glxproto.h I have a Debian testing system and I run Nvidia. I don't think this file is from Nvidia, however, but I don't know the exact package. Apparently belongs to some part of glx
Richard Harke _______________________________________________ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d