problems with OpenGL defined types

Started by
2 comments, last by hemihua 20 years ago
Hi, I seem to be having troubles getting a project to compile under VC6. When compiling, it comes up with heaps of these errors: Error C2143: syntax error : missing '';'' before ''type'' The problem seems to lie with GL variable definitions, e.g.: GLuint pf; I''ve #included and , and the project used to compile under LCC. Its a .C file so it should be compiled as C by VC6. I''ve tried just about everything and i''m tearing my hair out now! Its probably some stupid thing i''ve forgot since i haven''t coded for a while. Can anyone help please?
Advertisement

#include <windows.h> before the gl includes.
Already done that...
Never mind i''m an idiot!
(forgot a closing brace in a switch statement from a previous function, trust VC to give a useless error message...)

This topic is closed to new replies.

Advertisement