haiku3d: Fix haiku3d build

* Add GL header include path
* Remove strange GL include path from sources
This commit is contained in:
Alexander von Gluck IV 2012-01-11 00:20:02 -06:00
parent defd6ec79a
commit 8e4cdaae8d
7 changed files with 15 additions and 9 deletions

View File

@ -1,8 +1,14 @@
SubDir HAIKU_TOP src apps haiku3d ; SubDir HAIKU_TOP src apps haiku3d ;
SubDirSysHdrs $(HAIKU_MESA_HEADERS) ;
SEARCH_SOURCE += [ FDirName $(SUBDIR) mesh ] ; SEARCH_SOURCE += [ FDirName $(SUBDIR) mesh ] ;
SEARCH_SOURCE += [ FDirName $(SUBDIR) texture ] ; SEARCH_SOURCE += [ FDirName $(SUBDIR) texture ] ;
# For GCC2
if $(HAIKU_GCC_VERSION[1]) < 3 {
SubDirC++Flags --no-warnings ;
}
UsePrivateHeaders shared ; UsePrivateHeaders shared ;
Application Haiku3d : Application Haiku3d :

View File

@ -8,7 +8,7 @@
#include "MeshInstance.h" #include "MeshInstance.h"
#include "MathUtils.h" #include "MathUtils.h"
#include <opengl/GL/gl.h> #include <GL/gl.h>
//#include <stdio.h> // debug //#include <stdio.h> // debug

View File

@ -14,8 +14,8 @@
#include "StaticMesh.h" #include "StaticMesh.h"
#include "VideoFileTexture.h" #include "VideoFileTexture.h"
#include <opengl/GL/gl.h> #include <GL/gl.h>
#include <opengl/GL/glu.h> #include <GL/glu.h>
#include <TranslationKit.h> #include <TranslationKit.h>
#include <TranslationUtils.h> #include <TranslationUtils.h>

View File

@ -8,7 +8,7 @@
#include "Texture.h" #include "Texture.h"
#include <opengl/GL/gl.h> #include <GL/gl.h>
Texture::Texture() Texture::Texture()

View File

@ -10,7 +10,7 @@
#include <Referenceable.h> #include <Referenceable.h>
#include <opengl/GL/gl.h> #include <GL/gl.h>
class Texture : public BReferenceable { class Texture : public BReferenceable {

View File

@ -10,8 +10,8 @@
#include <Bitmap.h> #include <Bitmap.h>
#include <opengl/GL/gl.h> #include <GL/gl.h>
#include <opengl/GL/glu.h> #include <GL/glu.h>
#include <stdio.h> #include <stdio.h>

View File

@ -13,8 +13,8 @@
#include <MediaFile.h> #include <MediaFile.h>
#include <MediaTrack.h> #include <MediaTrack.h>
#include <opengl/GL/gl.h> #include <GL/gl.h>
#include <opengl/GL/glu.h> #include <GL/glu.h>
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>