View Full Version : gluTessCallback won't compile

01-23-2004, 09:03 AM
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.