PDA

View Full Version : Ignorant Newbie and Visual Studio library :)



Jeremiah
03-08-2001, 08:48 PM
I know this is probably really simple.. but I have tried several tutorials and I get this error even when I download someone elses code.. I think I just need to set something up right in my libraries, but I even have a hard time finding this stuff.. anyway.. here is the error I get:

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.

Any help is greatly appreciated.. THANKS!

mango
03-08-2001, 09:27 PM
Include windows.h before gl.h