Archived

This topic is now archived and is closed to further replies.

errors in gl.h ?!!!

This topic is 5951 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

i have a Class Graphics which i use to render scenes in my app. The problem is when i try to compile my app I get these errors:
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
what the heck do i do?! i thought there are no errors in gl.h cause its provided free of bugs... right?

What am i doing wrong???
Kudh mare tho, kudah dhikthaa!
Giraftaar - FobzLife Game Dev

Share this post


Link to post
Share on other sites
Are you including windows.h before gl.h?

The fanatic is incorruptible: if he kills for an idea, he can just as well get himself killed for one; in either case, tyrant or martyr, he is a monster.
--EM Cioran

Opere Citato

Share this post


Link to post
Share on other sites