OpenGL problem with VS .NET 2003
Ok, i want to use seperate .cpp files to do things. However, when if i include <gl\gl.h> <gl\glu.h> <gl\glaux.h> in my main rendering cpp file, everything works fine. But if I include those same three files into another .cpp file i get errors when compiling. These errors are found in GL.h. one of them is...
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\gl\GL.h(1152) : error C2144: syntax error : 'void' should be preceded by ';'
any help would be awesome. thanks.
most likely you didn't #include <windows.h> before #include <GL/gl.h>
tell me whether it solves your problem.
tell me whether it solves your problem.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement