diff options
-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. */ |