GLE 4.2.4 doesn't compile with Qt 4.8.0 with the following error:
...
make[2]: Entering directory `/home/bunder/src/arch/aur/gle-graphics/src/gle-graphics-4.2.4/src/gui'
g++ -c -m64 -pipe -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG_OUTPUT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++-64 -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtOpenGL -I/usr/include -I. -I/usr/X11R6/include -Imoc -o objects/3dviewer.o 3dviewer.cpp
3dviewer.cpp: In member function 'virtual void QGLE3DWidget::paintGL()':
3dviewer.cpp:110:41: error: 'gluPerspective' was not declared in this scope
3dviewer.cpp:118:53: error: 'gluLookAt' was not declared in this scope
make[2]: *** [objects/3dviewer.o] Error 1
make[2]: Leaving directory `/home/bunder/src/arch/aur/gle-graphics/src/gle-graphics-4.2.4/src/gui'
...
This happens because the GLU dependency was removed from Qt since 4.7 (see http://qt.gitorious.org/qt/qt/commit/e7eed096a0c33607a7a37baaf06e5952dc9d556b/diffs\).
It should be included in 3dviewer.cpp and somewhere in *LIBS explicitly.
$ uname -a
Linux *** 3.1.7-1-ARCH #1 SMP PREEMPT Wed Jan 4 08:11:16 CET 2012 x86_64 Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz GenuineIntel GNU/Linux
Proposed patch
Dear Anton,
Thanks for the patch.
I will make a release with this fix soon. (I also noticed the problem after upgrading to Fedora 16.)
Best Regards,
Jan
This has been fixed in 4.2.4b.