Advertisement

Compiler error since xp: wingdiapi

Started by January 05, 2004 04:05 PM
2 comments, last by raddude04 21 years, 2 months ago
I am using MSVC++ from a machine that ran win98 to a machine running xp. no im getting these errors in my code: error C2144: syntax error : missing '';'' before type ''void'' error C2501: ''WINGDIAPI'' : missing storage-class or type specifiers fatal error C1004: unexpected end of file found\ it points me to my gl.h file that was in working order on my last machine. i already included windows.h, and all the appropriate gl header files
put #include <windows.h> above the gl includes.
----------------------------------------------------"Plant a tree. Remove a Bush" -A bumper sticker I saw.
Advertisement
it is already........
you have to put it before the #include <gl/gl.h> in all the file that use gl function

This topic is closed to new replies.

Advertisement