Tag Archives: not declared

Linux Qt: Boxes demo gluPerspective

I was compiling the Linux Qt Demo: Boxes for Qt4.8.1 and ran into these errors. Here’s how I fixed them: /home/mfang/dev/QtSDK/Demos/4.7/boxes/qtbox.cpp:329: error: ‘gluPerspective’ was not declared in this scope In qtbox.cpp and scene.cpp add: #include “GL/glu.h” Explanation: According to the … Continue reading

Posted in Linux, troubleshooting | Tagged , , , , , , | Leave a comment