[mythtv-users] Fedora 10 trunk compile error

Greg Woods greg at gregandeva.net
Thu May 7 03:45:43 UTC 2009


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)’
mythpainter_ogl.cpp:225: error: invalid conversion from ‘int’ to
‘GLenum’
mythpainter_ogl.cpp:225: error:   initializing argument 1 of ‘void
glBindTexture(GLenum, GLuint)’
mythpainter_ogl.cpp:226: error: invalid conversion from ‘int’ to
‘GLenum’
mythpainter_ogl.cpp:226: error:   initializing argument 1 of ‘void
glTexParameteri(GLenum, GLenum, GLint)’
mythpainter_ogl.cpp:230: error: ‘GL_GENERATE_MIPMAP_HINT_SGIS’ was not
declared in this scope
mythpainter_ogl.cpp:231: error: ‘GL_GENERATE_MIPMAP_SGIS’ was not
declared in this scope
mythpainter_ogl.cpp:232: error: invalid conversion from ‘int’ to
‘GLenum’
mythpainter_ogl.cpp:232: error:   initializing argument 1 of ‘void
glTexParameterf(GLenum, GLenum, GLfloat)’
mythpainter_ogl.cpp:235: error: invalid conversion from ‘int’ to
‘GLenum’
mythpainter_ogl.cpp:235: error:   initializing argument 1 of ‘void
glTexParameterf(GLenum, GLenum, GLfloat)’
mythpainter_ogl.cpp:238: error: invalid conversion from ‘int’ to
‘GLenum’
mythpainter_ogl.cpp:238: error:   initializing argument 1 of ‘void
glTexImage2D(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum,
GLenum, const GLvoid*)’
mythpainter_ogl.cpp: In member function ‘virtual void
MythOpenGLPainter::DrawImage(const QRect&, MythImage*, const QRect&,
int)’:
mythpainter_ogl.cpp:266: error: invalid conversion from ‘int’ to
‘GLenum’
mythpainter_ogl.cpp:266: error:   initializing argument 1 of ‘void
glEnable(GLenum)’
mythpainter_ogl.cpp:297: error: invalid conversion from ‘int’ to
‘GLenum’
mythpainter_ogl.cpp:297: error:   initializing argument 1 of ‘void
glDisable(GLenum)’
make[2]: *** [mythpainter_ogl.o] Error 1
make[2]: Leaving directory
`/local/src/mythtv.svn/trunk/mythtv/libs/libmythui'
make[1]: *** [sub-libmythui-make_default] Error 2
make[1]: Leaving directory `/local/src/mythtv.svn/trunk/mythtv/libs'
make: *** [sub-libs-make_default-ordered] Error 2




More information about the mythtv-users mailing list