Skip to main content
GameDev.net gamedev.net
🔒 Locked

Error on gl.h

Started by dark wolf May 17, 2003 at 9:32 AM 1 replies 250+ views
Original Post
dark wolf
dark wolf
I''m getting errors on my gl.h file using VC++ 6.0. The errors are: c:\arquivos de programas\microsoft visual studio\vc98\include\gl\gl.h(1152) : error C2144: syntax error : missing '';'' before type ''void'' c:\arquivos de programas\microsoft visual studio\vc98\include\gl\gl.h(1152) : error C2501: ''WINGDIAPI'' : missing storage-class or type specifiers c:\arquivos de programas\microsoft visual studio\vc98\include\gl\gl.h(1152) : fatal error C1004: unexpected end of file found CwWindow.cpp c:\arquivos de programas\microsoft visual studio\vc98\include\gl\gl.h(1152) : error C2144: syntax error : missing '';'' before type ''void'' c:\arquivos de programas\microsoft visual studio\vc98\include\gl\gl.h(1152) : error C2501: ''WINGDIAPI'' : missing storage-class or type specifiers c:\arquivos de programas\microsoft visual studio\vc98\include\gl\gl.h(1152) : fatal error C1004: unexpected end of file found Does anybody know how to fix this?? Help is wanted!
CraZeE
CraZeE
u may have forgotten to include windows.h before including gl.h
To learn, we share... Give some to take some -
dark wolf
dark wolf
Thanx CraZeE!

Was it.. Now everything works great!

Thanx again!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.