PDA

View Full Version : using NV_register_combiners



Yangshu
06-17-2002, 03:00 PM
Please help me out of this compiling problem!

OS: Redhat Linux7.2
erro message: implicit declaration of function `int glCombinerParameteriNV(...)'

I checked and saw that "GL_NV_register_combiners" is defined.

Do I need to find out the address of this function before using it? If yes, how?

Thanks for helping!
Yangshu

dorbie
06-17-2002, 03:05 PM
You need to include glext.h.
http://oss.sgi.com/projects/ogl-sample/registry/

Yangshu
06-18-2002, 08:29 AM
Thanks dorbie!
But still I get similar compiling erros.

I tried including only <GL/glext.h> at first, but function "glCombinerParameterXX" is still not defined. And then I downloaded and included "glxext.h" into my file, now it is "glxext.h" causes the problem.

Can you give me suggestions on this?

Yangshu
06-18-2002, 08:39 AM
It works now!

#define GL_GLEXT_PROTOTYPES
before including <GL/glut.h>
and don't need "glxext.h" at all!

dorbie
06-19-2002, 11:36 AM
Ahh... not everyone used GLUT, but that's good to know.