View Full Version : Problems building with Borland C++ 4

08-28-2001, 03:38 AM
Hey - I'm trying to build a project at school with Borland C++ 4.0

I get build errors when using gl.h

The first is a declaration syntax error on line 1152:

WINGDIAPI void APIENTRY glAccum (GLenum op, GLfloat value);

The rest all are related to that error. Anybody know how to fix this?

08-28-2001, 03:59 AM
Did you include <windows.h> before <GL/gl.h>?

08-28-2001, 04:29 AM
Hehe, okay, that fixed that. Another problem, though. I get an error (E2337) on line 98 of glut.h (which is)

extern _CRTIMP void __cdecl exit(int);

that reads "Only one of a set of overloaded functions can be "C"" - any ideas?