errors in gl.h lib

hi there i’m very new at this, but this seems to be a problem wth my gl.h library is there anyway of fixing it

--------------------Configuration: basic shape - Win32 Debug--------------------
Compiling…
basic shape.cpp
c:\program files\microsoft visual studio\vc98\include\gl\gl.h(1152) : error C2144: syntax error : missing ‘;’ before type ‘void’

c:\program files\microsoft visual studio\vc98\include\gl\gl.h(1152) : error C2501: ‘WINGDIAPI’ : missing storage-class or type specifiers

c:\program files\microsoft visual studio\vc98\include\gl\gl.h(1152) : fatal error C1004: unexpected end of file found
Error executing cl.exe.

Just #include <windows.h> before you #include <gl.h>

cheers for that, but now its saying

Cannot open include file: ‘GL/glut.h’: No such file or directory

If you are using windows
Try to include <windows.h> before <gl/gl.h>

Just copy glut.h in your c:\program files\microsoft visual studio\vc98\include\gl directory. You can download it from www.opengl.org.

thanks a lot guys, you really helped. :smiley: