[mythtv] [PATCH] build problem without opengl
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
> > I couldn't get Mythmusic working without disabling it.
> This patch is incorrect, and nothing will be able to link against
The build is incorrect at the moment and results in the following error.
What is the correct way to exclude OpenGL dependencies?
qmake -o Makefile libmythui.pro
g++ -c -pipe -Wall -W -O3 -march=pentium2 -fomit-frame-pointer -D_REENTRANT
C -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DMMX -DCONF
IDEO4LINUX -DUSING_IVTV -DUSING_OSS -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_S
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
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
make: *** [mythpainter_ogl.o] Error 1
More information about the mythtv-dev