I keep getting these weird errors when I'm trying to use glu.h (I know this might not be the right place to ask):
**** Rebuild of configuration Release for project SFML Clockemp ****
**** Internal Builder is used for build ****
g++ -O3 -Wall -c -fmessage-length=0 -o src\main.o ..\src\main.cpp
In file included from ..\src\main.cpp:3:
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:225: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:226: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:227: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:228: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:229: error: `GLAPI' does not name a type
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:230: error: `GLAPI' does not name a type
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:231: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:232: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:233: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:234: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:235: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:236: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:237: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:238: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:239: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:240: error: expected constructor, destructor, or type conversion before "const"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:241: error: expected constructor, destructor, or type conversion before "const"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:242: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:243: error: expected constructor, destructor, or type conversion before "const"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:244: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:245: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:246: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:247: error: `GLAPI' does not name a type
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:248: error: `GLAPI' does not name a type
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:249: error: `GLAPI' does not name a type
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:250: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:251: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:252: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:253: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:254: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:255: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:256: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:257: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:258: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:259: error: `GLAPI' does not name a type
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:260: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:261: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:262: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:263: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:264: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:265: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:266: error: `GLAPI' does not name a type
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:267: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:268: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:269: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:270: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:271: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:272: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:273: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:274: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:275: error: expected constructor, destructor, or type conversion before "void"
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:276: error: `GLAPI' does not name a type
G:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/gl/glu.h:277: error: `GLAPI' does not name a type
..\src\main.cpp: In function `int main()':
..\src\main.cpp:19: error: `gluBuild2DMipmaps' was not declared in this scope
..\src\main.cpp:19: warning: unused variable 'gluBuild2DMipmaps'
..\src\main.cpp:55: error: `gluPerspective' was not declared in this scope
..\src\main.cpp:55: warning: unused variable 'gluPerspective'
Build error occurred, build is stopped
Time consumed: 657 ms.
I just have no idea what to do.