gluTessCallback won't compile

Using Visual Studio .NET Version 2002, I attempted to compile a tessellation example file that I got from the OpenGL “Red Book”. I am using the C++ compiler. I get an error when it tries to compile a gluTessCallback(tobj, GLU_TESS_VERTEX, glVertex3dv) statement because of a signature missmatch between the glu.h declaration for gluTessCallback and the gl.h declaration for glVertex3dv. The Microsoft error code is C2664. The same code will compile and run fine using the C compiler. Has anyone encountered this problem? Is there a newer version of glu.h? The one I’m using is the one that installed with Visual Studio .NET 2002.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.