View Full Version : gl.h include problems

02-02-2001, 02:30 AM
Hi guys!

I have a problem with gl.h. I use VC6++ without SP.
I create a console app. When I include gl.h in on einclude file it works all fine.
then i define a new include file, say for some other classes, and include gl.h here, the compiler breaks with the error: missing ";"......
and he won't like the WINGAPI directive...
so I have to put some functions into other cpp-files.....:-(

hope somebody knows what I mean


02-02-2001, 02:57 AM
You must #include <windows.h> before you #include <GL/gl.h>