I am trying to compile a program provided by my book. (super bible)
originally the program doesn’t contain #include<gl/glext.h>, so it comes up with “GL_BGR_EXT undeclared.” Then I add the #include<gl/glext.h>, but it comes up with hundreds of compiling errors in glext.h!
such as
3505 d:\Dev-Cpp\include\gl\glext.h syntax error before “red”
3506 d:\Dev-Cpp\include\gl\glext.h syntax error before “mode”
3507 d:\Dev-Cpp\include\gl\glext.h syntax error before “mode”
…
I got compiling errors in almost every line!
I have downloaded the newest verson of glext.h, so I don’t think there should be problems…
I use DEV-CPP, but in visual studio I got the same problem.
any help?