[mythtv] [PATCH] build problem without opengl

Paul Koster mythtv at kosteronline.net
Wed Sep 1 13:37:39 EDT 2004


From: "Isaac Richards" <ijr at po.cwru.edu>
> On Tuesday 31 August 2004 05:05 pm, Paul Koster wrote:
> > Current CVS doesn't build with OpenGL disabled in settings.pro . The
> > solution is trivial and included below.
> >
> > Is it btw required that opengl must be disabled when using the PVR350
out?
> > I couldn't get Mythmusic working without disabling it.
>
> This patch is incorrect, and nothing will be able to link against
libmythui if
> applied.

The build is incorrect at the moment and results in the following error.
What is the correct way to exclude OpenGL dependencies?

pvr:/home/paul/devel/mythtv/mythtv/libs/libmythui# make
qmake -o Makefile libmythui.pro
g++ -c -pipe -Wall -W -O3 -march=pentium2 -fomit-frame-pointer -D_REENTRANT 
-fPI
C  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DMMX -DCONF
IG_V
IDEO4LINUX -DUSING_IVTV -DUSING_OSS -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_S
HARE
D -I/usr/share/qt3/mkspecs/default -I. -I/usr/local/include -I/usr/include/q
t3 -o mythpainter_ogl.o mythpainter_ogl.cpp
mythpainter_ogl.cpp: In member function `void
MythOpenGLPainter::BindTextureFromCache(MythImage*, bool)':
mythpainter_ogl.cpp:148: error: `GL_GENERATE_MIPMAP_HINT' undeclared (first
use  this function)
mythpainter_ogl.cpp:148: error: (Each undeclared identifier is reported only
once for each function it appears in.)
mythpainter_ogl.cpp:149: error: `GL_GENERATE_MIPMAP' undeclared (first use
this  function)
make: *** [mythpainter_ogl.o] Error 1

--
Paul



More information about the mythtv-dev mailing list