PDA

View Full Version : HELP: Error in "gl.h"



05-27-2002, 03:21 AM
Hi
Im getting an error as follows :-

"semi-colon ";" missising before void in gl.h"
Now what am I supposed to do ? I surely cant change that file . Have any reasons as to y this happens ?

marcus256
05-27-2002, 04:01 AM
What environment and compiler are you using???

Try the GL include files found here (http://hem.passagen.se/opengl/getstarted/glincludes.html) , they should work on most platforms.

mikael_aronsson
05-27-2002, 06:57 AM
Hi !

Check what you are doing before you include "gl.h", many times this problems are related to problems before the actual error line.

If you are using Windows you also need to include windows.h before gl.h

Mikael