View Full Version : GLUT is killing me!!!

11-27-2001, 11:02 AM
2 weeks ago I changed to new GLUT...
2 weeks I have been trying it to work properly...
problems are next...
1. I cannot include windows.h (not really needed)
2. I cannot include stdlib.h (really needed)

Problem is GLUT.h which says on compile(if w.h or s.h is included) that
Error E2337 c:\Borland\Bcc55\include\GL/glut.h 146: Only one of a set of overloaded functions can be "C"

How Can I fix this? Or does someone know how to get free microsoft vc++6 compiler?

11-29-2001, 06:46 AM

12-01-2001, 12:48 AM
OK, one last try...
Change line 15 in glut.h from
# if 0
# if 1

Microsoft has probably a very good compiler but so has Borland. Switching compiler for the "diificult" changes needed in glut.h is silly. The GLUT authors put "# if 0" in just because it should be easy to change. You could also keep the older headers since the last changes is internal and the headers are unchanged.