I am experiencing problems installing the GLUT kit as can be downloaded from Nate Robin’s site. The compiler (free Borland C++ 5.5) is finding a syntax error in the header file. I installed the toolkit like this:
-copy glut.h into \borland\include
-copy glut.dll and glut32.dll into \borland\bin
-copy same files into \windows\system
-use the Borland IMPDEF.exe and IMPLIB.exe to create the Borland-type .lib files from the .dlls
On compilation, the compiler discovers an error:
glut.h 140: Only one of a set of overloaded fuctions can be “C”
Note: glut.h 140 declares a function called exit(int).
And no, removing #include <stdlib.h> did not fix this, even though it removed the exit(int) that belongs to stdlib. Could somebody please help?