Here I am! Trying to compile an example code that come with the “OpenGL Game Programming Book”!
My problem is a program that uses multitexturing, but it dont´t work.
This error happen´s when I try to compile:
c:\Documents and Settings\multipassex\main.cpp(50): error C2501: ‘PFNGLMULTITEXCOORD2FARBPROC’ : missing storage-class or type specifiers
c:\Documents and Settings\multipassex\main.cpp(50): error C2501: ‘PFNGLMULTITEXCOORD2FARBPROC’ : missing storage-class or type specifiers
c:\Documents and Settings\multipassex\main.cpp(52): error C2501: ‘PFNGLCLIENTACTIVETEXTUREARBPROC’ : missing storage-class or type specifiers
The compiler not recognize the pointer to extended funcions of opengl.
I am including in my project the headers
#include <gl/gl.h> // standard OpenGL include
#include <gl/glu.h> // OpenGL utilties
#include “glext.h”
// OpenGL extension
and the libs:
opengl32.lib and glu32.lib
Any idea that what is my problem?
Thank you!!!