[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: Tue Feb 20, 2007 2:47 pm

[Compiling] openGL

Post by Fennias Maxim » Tue Jun 05, 2007 11:52 pm

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: Sat Aug 07, 2004 11:47 am
Location: Germany->Bavaria

Post by Matt » Wed Jun 06, 2007 9:11 am

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

Post by Bjørn » Wed Jun 06, 2007 5:37 pm

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: Sun Sep 02, 2007 11:12 pm

Post by rossi » Mon Sep 03, 2007 12:34 am

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: Tue Sep 11, 2007 7:21 am

Post by Hannie » Tue Sep 11, 2007 8:04 am

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