11-15-2001, 08:06 AM
It's probably something I've missed, but it's been working ok before.
I've got VC++6.0 and I'm starting to learn OpenGL, I've found some code using GLUT which makes creating windows etc easier.
When I build the code it comes up with 3 errors:
missing ';' before type void
WINGDIAPI missing storage-class...
and
Unexepected end of file found
These are found in the gl.h file, which is pretty werid seeming I've been using it before. Becuase I've hjust started putting GLUT stuff in I expect it doesn't like that. I have linked the .lib files in VC++ so it's not that, as I said I've been compiling code before ok from the NeHe site.
Can anyone offer any light on this? Thanks in advance.
I've got VC++6.0 and I'm starting to learn OpenGL, I've found some code using GLUT which makes creating windows etc easier.
When I build the code it comes up with 3 errors:
missing ';' before type void
WINGDIAPI missing storage-class...
and
Unexepected end of file found
These are found in the gl.h file, which is pretty werid seeming I've been using it before. Becuase I've hjust started putting GLUT stuff in I expect it doesn't like that. I have linked the .lib files in VC++ so it's not that, as I said I've been compiling code before ok from the NeHe site.
Can anyone offer any light on this? Thanks in advance.