Page 1 of 1

[Compiling] openGL

Posted: 05 Jun 2007, 22:52
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

Posted: 06 Jun 2007, 08:11
by Matt
Well it seems you lack some opengl libs.

Posted: 06 Jun 2007, 16:37
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.

Posted: 02 Sep 2007, 23:34
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

Posted: 11 Sep 2007, 07:04
by Hannie
help me pls pls....i have post here explaining...