Mjaum
02-25-2003, 02:32 PM
Hi,
I'm a new OpenGL-programmer (and new to c++, too), and I've been
trying to learn how to use extensions.
Now, I've been looking at the tutorials at nehe.gamedev.net (lesson
22), and I noticed a strange thing. The code there compiles with the
glext.h included in the download, but if I change it to a newer
version of glext.h, I get a compiler error...
syntax error : missing ';' before identifier 'glMultiTexCoord1fARB'
PFNGLMULTITEXCOORD1FARBPROC' : missing storage-class or type
specifiers
unexpected end of file found
The problem is reported to be with the line:
PFNGLMULTITEXCOORD1FARBPROC glMultiTexCoord1fARB = NULL;
What do I have to change to get it to compile with the new glext.h?
Please help?
-Kristian
I'm a new OpenGL-programmer (and new to c++, too), and I've been
trying to learn how to use extensions.
Now, I've been looking at the tutorials at nehe.gamedev.net (lesson
22), and I noticed a strange thing. The code there compiles with the
glext.h included in the download, but if I change it to a newer
version of glext.h, I get a compiler error...
syntax error : missing ';' before identifier 'glMultiTexCoord1fARB'
PFNGLMULTITEXCOORD1FARBPROC' : missing storage-class or type
specifiers
unexpected end of file found
The problem is reported to be with the line:
PFNGLMULTITEXCOORD1FARBPROC glMultiTexCoord1fARB = NULL;
What do I have to change to get it to compile with the new glext.h?
Please help?
-Kristian