diff options
author | Jakob Odersky <jodersky@gmail.com> | 2013-06-17 12:01:24 +0000 |
---|---|---|
committer | Jakob Odersky <jodersky@gmail.com> | 2013-06-17 12:01:24 +0000 |
commit | 099236b12eace2c40efce1d1ba97acc77e9431c8 (patch) | |
tree | 7921b04a8f5d1151fd3f45e37ab6730b67b53ee3 | |
parent | 57546dd4a34cbad765fd4249b18101d61a816a38 (diff) | |
download | vhc-099236b12eace2c40efce1d1ba97acc77e9431c8.tar.gz vhc-099236b12eace2c40efce1d1ba97acc77e9431c8.tar.bz2 vhc-099236b12eace2c40efce1d1ba97acc77e9431c8.zip |
update GLU includes ad linking
-rw-r--r-- | src/gui/Camera.h | 1 | ||||
-rw-r--r-- | src/gui/gui.pro | 2 | ||||
-rw-r--r-- | src/gui/util.cc | 1 | ||||
-rw-r--r-- | src/gui/util.h | 2 |
4 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/Camera.h b/src/gui/Camera.h index e863a9e..df57fdd 100644 --- a/src/gui/Camera.h +++ b/src/gui/Camera.h @@ -10,6 +10,7 @@ #include <cmath> #include <QtOpenGL> #include "Vector3D.h" +#include <GL/glu.h> namespace vhc { diff --git a/src/gui/gui.pro b/src/gui/gui.pro index a0c0d71..dd5fe9b 100644 --- a/src/gui/gui.pro +++ b/src/gui/gui.pro @@ -7,7 +7,7 @@ OBJECTS_DIR = $(BINDIR)/gui DEPENDPATH += . INCLUDEPATH += . INCLUDEPATH += $(SRCDIR)/main/ -LIBS += -L$(BINDIR)/main -lvhc +LIBS += -L$(BINDIR)/main -lvhc -lGLU QT += opengl #CONFIG += DEBUG diff --git a/src/gui/util.cc b/src/gui/util.cc index 5f026bf..537b510 100644 --- a/src/gui/util.cc +++ b/src/gui/util.cc @@ -5,6 +5,7 @@ * Author: jakob */ #include <QtOpenGL> +#include "util.h" namespace vhc { namespace util { diff --git a/src/gui/util.h b/src/gui/util.h index e8e9472..9cfb34d 100644 --- a/src/gui/util.h +++ b/src/gui/util.h @@ -8,6 +8,8 @@ #ifndef UTIL_H_ #define UTIL_H_ +#include <GL/glu.h> + namespace vhc { /** Contient des fonctions utilitaires. */ |