[Compiling] openGL

Ask for help regarding any technical issue or report any bug or OS independent issues.
Post Reply
Fennias Maxim
Peon
Peon
Posts: 7
Joined: 20 Feb 2007, 13:47

[Compiling] openGL

Post by Fennias Maxim »

I can't make tmw.

System
Linux blue-scout 2.6.20-16-generic #2 SMP Wed May 23 01:46:23 UTC 2007 i686 GNU/Linux

Error Message

Code: Select all

/usr/local/include/SDL/SDL_opengl.h:44:60: error: GL/gl.h: No such file or directory
/usr/local/include/SDL/SDL_opengl.h:45:58: error: GL/glu.h: No such file or directory
gui/widgets/../../resources/image.h:124: Fehler: »GLuint« wurde nicht deklariert
gui/widgets/../../resources/image.h:139: Fehler: »GLuint« bezeichnet keinen Typ
gui/widgets/../../resources/image.h:160: Fehler: »GLuint« wurde nicht deklariert
make[2]: *** [tmw-resizegrip.o] Fehler 1
make[2]: Verlasse Verzeichnis '/home/june/Desktop/tmw-0.0.23/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlasse Verzeichnis '/home/june/Desktop/tmw-0.0.23'
make: *** [all] Fehler 2
Matt
Grand Knight
Grand Knight
Posts: 1759
Joined: 07 Aug 2004, 10:47
Location: Germany->Bavaria

Post by Matt »

Well it seems you lack some opengl libs.
User avatar
Bjørn
Manasource
Manasource
Posts: 1438
Joined: 09 Dec 2004, 18:50
Location: North Rhine-Westphalia, Germany
Contact:

Post by Bjørn »

There headers are usually part of the mesa package:
[bjorn@thor ~]$ pacman -Qo /usr/include/GL/gl.h /usr/include/GL/glu.h
/usr/include/GL/gl.h is owned by mesa 6.5.2-1
/usr/include/GL/glu.h is owned by mesa 6.5.2-1
Maybe a similar package is available in your distribution.
rossi
Peon
Peon
Posts: 1
Joined: 02 Sep 2007, 22:12

Post by rossi »

Found on google...: 'Mesalib'
After installing gl.h and glu.h (files that were lacking) I'had other problems, but I think is too specific, so, if anyone get a problem related to openglimageloader or when "making" 'tmw-gui', post here. I'll be glad to help.

---Original Post---
Hi,
I'm with the same problem... so should I get a opengl lib like matt said?
If yes... where?
Thanks xD
Hannie
Peon
Peon
Posts: 15
Joined: 11 Sep 2007, 06:21

Post by Hannie »

help me pls pls....i have post here explaining...
Post Reply