[mythtv-users] Fedora 10 trunk compile error

R. G. Newbury newbury at mandamus.org
Thu May 7 16:56:10 UTC 2009


Greg Woods wrote:
> On Tue, 2009-05-05 at 11:29 -0400, R. G. Newbury wrote:
> 
>> Since you are running Fedora you might want to check out the 
>> 'dependencies' script from the wiki (Howto -> Dependencies -> Fedora 
>> 10). 
> 
> I downloaded it and ran it. Then went into the mythtv/trunk/mythtv
> directory and did "make distclean", followed by "make". Same error:
> 
> g++ -c -pipe -march=pentiumpro -fomit-frame-pointer -O3 -Wall
> -Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor
> -funit-at-a-time -D__STDC_CONSTANT_MACROS -D_REENTRANT -DPIC -fPIC -DMMX
> -Di386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_OPENGL_PAINTER
> -DUSING_X11 -DUSE_JOYSTICK_MENU -DUSE_LIRC -DUSING_XRANDR
> -DUSING_QTWEBKIT -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_SQL_LIB -DQT_XML_LIB
> -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB
> -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore
> -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtOpenGL
> -I/usr/include/QtXml -I/usr/include/QtSql -I/usr/include/QtWebKit
> -I/usr/include -I/local/include -I/usr/include -I../libmythdb -I../..
> -I.. -I/usr/X11R6/include -I. -I. -o mythpainter_ogl.o
> mythpainter_ogl.cpp
> mythpainter_ogl.cpp: In member function ‘void
> MythOpenGLPainter::BindTextureFromCache(MythImage*, bool)’:
> mythpainter_ogl.cpp:190: error: invalid conversion from ‘int’ to
> ‘GLenum’
> mythpainter_ogl.cpp:190: error:   initializing argument 1 of ‘void
> glBindTexture(GLenum, GLuint)’


I am reasonable sure that GLenum is defined somewhere in /usr/include/GL 
  so why this fails is obscure.

I did a quick 'grep -R -H -n GLenum *' from /usr/include/GL and it 
spewed out an incredible number of lines....

You did not, perchance, install a version of the nvidia (proprietary) 
driver? Because something is seriously wrong. You appear to be missing 
at least one header file, but which one is not so clear...

Geoff









         Please let me know if anything I say offends you.
          I may wish to offend you again in the future.

          Tux says: "Be regular. Eat cron flakes."



More information about the mythtv-users mailing list