View Full Version : Loading Extensions

11-10-2003, 02:27 PM
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?

11-11-2003, 07:36 AM
Could you show code?

11-22-2003, 07:07 AM
Well problem is it's in the glext.h So the line in my code that gives the error is:
#include <GL/glext.h>

11-28-2003, 07:04 PM
On my system the path to it is /usr/X11R6/include/GL/glext.h try making it include directly to that path.