[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-dev] error building current CVS when no GL is available
From: |
Bastiaan Jacques |
Subject: |
Re: [Gnash-dev] error building current CVS when no GL is available |
Date: |
Wed, 26 Jul 2006 13:24:09 +0200 |
User-agent: |
KMail/1.9.3 |
On Wednesday 26 July 2006 13:13, strk wrote:
> In file included from /usr/src/gnash/gnash/libbase/ogl.h:12,
> from /usr/src/gnash/gnash/libbase/ogl.cpp:10:
> /usr/src/gnash/gnash/libbase/tu_opengl_includes.h:56:21: error:
> GL/glu.h: No such file or directory
I had the same problem yesterday, and I fixed it with this:
Index: libbase/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/libbase/Makefile.am,v
retrieving revision 1.30
diff -p -u -r1.30 Makefile.am
--- libbase/Makefile.am 7 Jun 2006 03:03:22 -0000 1.30
+++ libbase/Makefile.am 26 Jul 2006 11:20:43 -0000
@@ -65,6 +65,14 @@ if DMALLOC
DMALLOC_FILE = dlmalloc.c
endif
+if USE_RENDERER_OPENGL
+OPENGL_SOURCES = ogl.cpp
+endif
+
+if HAS_SDL
+SDL_FILE = tu_file_SDL.cpp
+endif
+
libgnashbase_la_SOURCES = \
config.cpp \
container.cpp \
@@ -72,9 +80,9 @@ libgnashbase_la_SOURCES = \
image.cpp \
image_filters.cpp \
jpeg.cpp \
- log.cpp \
+ log.cpp \
+ $(OPENGL_SOURCES) \
membuf.cpp \
- ogl.cpp \
postscript.cpp \
rc.cpp \
triangulate_float.cpp \
@@ -97,6 +105,10 @@ libgnashbase_la_LIBADD = \
$(SDL_LIBS)
# $(OPENGL_LIBS)
+if USE_RENDERER_OPENGL
+OPENGL_HEADER = ogl.h
+endif
+
noinst_HEADERS = \
container.h \
demo.h \
@@ -106,7 +118,7 @@ noinst_HEADERS = \
image.h \
jpeg.h \
membuf.h \
- ogl.h \
+ $(OPENGL_HEADER) \
log.h \
postscript.h \
rc.h \