View Full Version : GLext.h won't compile

12-07-2008, 09:39 PM

I'm trying to compile the typical GLext.h file for using OpenGL extensions. The GLext.h file, among 5000 other lines of code, contains a whole bunch of statements of the form:

typedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);

My compiler is not liking these statements. Does anyone know why not or have any advice on getting GLext.h to compile? I'm using GCC, by the way.

Note: I'm putting this on both the beginner and advanced forums, only because I honestly don't know where this should go.

12-08-2008, 07:36 AM
See this thread (http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=250145&Main=48696#Post250145)for an answer.