Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Weird errors, glu.h  (Read 7047 times)

0 Members and 1 Guest are viewing this topic.

Srejv

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
Weird errors, glu.h
« on: October 31, 2007, 03:40:31 pm »
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. :(

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Weird errors, glu.h
« Reply #1 on: October 31, 2007, 04:27:27 pm »
This problem has already been discussed on this forum, and is definitively solved in the current code (if you can get it from SVN).
Laurent Gomila - SFML developer