From 099236b12eace2c40efce1d1ba97acc77e9431c8 Mon Sep 17 00:00:00 2001 From: Jakob Odersky Date: Mon, 17 Jun 2013 12:01:24 +0000 Subject: update GLU includes ad linking --- src/gui/Camera.h | 1 + src/gui/gui.pro | 2 +- src/gui/util.cc | 1 + src/gui/util.h | 2 ++ 4 files changed, 5 insertions(+), 1 deletion(-) (limited to 'src') 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 #include #include "Vector3D.h" +#include 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 +#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 + namespace vhc { /** Contient des fonctions utilitaires. */ -- cgit v1.2.3