[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, 14:47

[Compiling] openGL

Post by Fennias Maxim » 05 Jun 2007, 23:52

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
Knight
Knight
Posts: 1746
Joined: 07 Aug 2004, 11:47
Location: Germany->Bavaria

Post by Matt » 06 Jun 2007, 09:11

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

Post by Bjørn » 06 Jun 2007, 17:37

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, 23:12

Post by rossi » 03 Sep 2007, 00:34

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, 07:21

Post by Hannie » 11 Sep 2007, 08:04

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