Update LINUX-INSTALL for 3D on Ubuntu 12.10

This commit is contained in:
Mark Liversedge
2012-12-08 21:50:14 +00:00
parent c33b84f3f0
commit b25c97fc25

View File

@@ -237,10 +237,16 @@ You will need to install libgl and extensions, this can be done with;
$ sudo apt-get install libgl1-mesa-dev
$ sudo apt-get install libglu-dev
On Ubuntu 12.10 I also ran
$ sudo apt-get install freeglut3 freeglut3-dev
$ cd ~/Projects/qwtplot3d
Edit the qwtplot3d.pri and add
CONFIG += staticlib
You will find that on modern Linuxes you also need to fix include/qwt3d_global.h by adding the line:
#include <GL/glu.h>
then build
$ qmake
$ make