Loading Extensions

After searching for why I couldn’t get things defined for free I decided to look through glext.h and descovered you have to define GL_GLEXT_PROTOTYPES before including glext.h.
However with g++ version 3.0.3 and NVidia’s glext.h GL_GLEXT_VERSION 6 (latest I can get from their CVS). I can’t get anything to compile.

Here’s the errors: (paraphrased for breivity)
Stringfwd.h ← namespace error in reguards to char_traits not being a template. for glProgramParameter4dNV
glext.h ← type specifier omitted for parameter

Anyone know what I’m doing wrong?

Could you show code?

Well problem is it’s in the glext.h So the line in my code that gives the error is:
#include <GL/glext.h>

On my system the path to it is /usr/X11R6/include/GL/glext.h try making it include directly to that path.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.