Hello, If I want to compile this code in bilder4 I get this error message:
[C++ Error] GLUT.H(140): E2337 Only one of a set of overloaded functions can be "C", and in glut.h it mark this row(row 140): extern _CRTIMP void __cdecl exit(int);
Before it has made:
IMPLIB glut32.lib glut32.dll;
glut.h: change "#if 0" to "#if 1";
I put #define GLUT_BUILDING_LIB before the #include <gl/glut.h>;
I put define GLUT_DISABLE_ATEXIT_HACK before the #include <gl/glut.h>;
And it does not work.