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?

Paul

_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to