I’m not sure if GL/glx.h is guaranteed to include GL/gl.h that contains the actual decralations, but even if, some functions
might not be declared in the gl.h header (i.e. the header is written against an older OpenGL(R) version). You might want to
include the header of an extension loader like GLEW or something similar (or your own) that declares the neccessary function
pointers and loads them.
Anyway, you get those warnings because the declarations are probably really not in the headers.
[QUOTE=advorak;1271744]
when I try to use the getprocaddress function to resolve the actual function, I get an error that says the initializer is not constant.
what else am I missing?[/QUOTE]
Where did you write that code snippet? Inside a function or at global scope? I guess you are trying to statically initialize a global
variable with the return value of a function. In order to get the value, the function has to be called at run time. It is not possible
to determine the value at compile time, i.e. the initializer is not a known, constant value.