[mythtv] Mythui link error?

Dæmòn delgas at gmail.com
Wed Aug 25 17:49:23 EDT 2004


CVS 08-25-04 .  MythUI seems to compile fine, but I'm getting this
error from the linker ( i think ).  Didn't manage to find anything on
it through searching the mailing lists, so it may be something
specific to my setup, but I'm not real sure how to resolve it.

Since my video hardware doesn't support hardware OpenGL, i changed
line 177 to read:

 d->painter = new MythQtPainter();

And since I cannot build MythUI, the libraries for it aren't present
when building mythTV, which subsequently fails.  Here's the error
output.  Any light you could shed on the situation would be greatly
appreciated.

Thanks for your valuable time.

-------------------
g++ -Wl,-rpath,/usr/qt/3/lib -o mythuitest mythmainwindow.o
mythpainter.o mythimage.o mythpainter_ogl.o mythpainter_qt.o
mythscreenstack.o mythscreentype.o mythuitype.o mythuiimage.o
mythuitext.o mythuianimatedimage.o mythlistbutton.o mythcontext.o
oldsettings.o remotefile.o themedmenu.o util.o dialogbox.o main.o
test1.o moc_mythmainwindow.o moc_mythuitype.o moc_mythlistbutton.o
moc_mythcontext.o moc_themedmenu.o moc_dialogbox.o moc_test1.o 
-L/usr/qt/3/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -lfreetype -lmp3lame
-L/usr/X11R6/lib -lXinerama -lXv -lX11 -lXext -lXxf86vm -lqt-mt -lGLU
-lGL -lXmu -lXext -lX11 -lm -lpthread
mythmainwindow.o(.text+0x23c): In function
`MythMainWindow::MythMainWindow[not-in-charge]()':
: undefined reference to
`QGLWidget::QGLWidget[not-in-charge](QWidget*, char const*, QGLWidget
const*, unsigned)'
mythmainwindow.o(.text+0x1787): In function
`MythMainWindow::MythMainWindow[not-in-charge]()':
: undefined reference to `QGLWidget::~QGLWidget [not-in-charge]()'
mythmainwindow.o(.text+0x1b5c): In function
`MythMainWindow::MythMainWindow[in-charge]()':
: undefined reference to
`QGLWidget::QGLWidget[not-in-charge](QWidget*, char const*, QGLWidget
const*, unsigned)'
mythmainwindow.o(.text+0x30a7): In function
`MythMainWindow::MythMainWindow[in-charge]()':
: undefined reference to `QGLWidget::~QGLWidget [not-in-charge]()'
mythmainwindow.o(.text+0x35dd): In function
`MythMainWindow::~MythMainWindow [not-in-charge]()':
: undefined reference to `QGLWidget::~QGLWidget [not-in-charge]()'
mythmainwindow.o(.text+0x36e4): In function
`MythMainWindow::~MythMainWindow [not-in-charge]()':
: undefined reference to `QGLWidget::~QGLWidget [not-in-charge]()'
mythmainwindow.o(.text+0x38ed): In function
`MythMainWindow::~MythMainWindow [in-charge]()':
: undefined reference to `QGLWidget::~QGLWidget [not-in-charge]()'
mythmainwindow.o(.text+0x39f4): In function
`MythMainWindow::~MythMainWindow [in-charge]()':
: undefined reference to `QGLWidget::~QGLWidget [not-in-charge]()'
mythmainwindow.o(.text+0x3bfd): more undefined references to
`QGLWidget::~QGLWidget [not-in-charge]()' follow
mythpainter_ogl.o(.text+0x53a): In function
`MythOpenGLPainter::Begin(QWidget*)':
: undefined reference to `typeinfo for QGLWidget'
mythpainter_ogl.o(.text+0x6b6): In function `MythOpenGLPainter::End()':
: undefined reference to `typeinfo for QGLWidget'
mythpainter_ogl.o(.text+0x938): In function
`MythOpenGLPainter::BindTextureFromCache(MythImage*, bool)':
: undefined reference to `QGLWidget::convertToGLFormat(QImage const&)'
mythpainter_ogl.o(.text+0xa9c): In function
`MythOpenGLPainter::BindTextureFromCache(MythImage*, bool)':
: undefined reference to `QGLWidget::convertToGLFormat(QImage const&)'
moc_mythmainwindow.o(.text+0x161): In function
`MythMainWindow::staticMetaObject()':
: undefined reference to `QGLWidget::staticMetaObject()'
moc_mythmainwindow.o(.text+0x27d): In function
`MythMainWindow::qt_invoke(int, QUObject*)':
: undefined reference to `QGLWidget::qt_invoke(int, QUObject*)'
moc_mythmainwindow.o(.text+0x2bb): In function
`MythMainWindow::qt_emit(int, QUObject*)':
: undefined reference to `QGLWidget::qt_emit(int, QUObject*)'
moc_mythmainwindow.o(.text+0x2f3): In function
`MythMainWindow::qt_property(int, int, QVariant*)':
: undefined reference to `QGLWidget::qt_property(int, int, QVariant*)'
moc_mythmainwindow.o(.text+0x229): In function
`MythMainWindow::qt_cast(char const*)':
: undefined reference to `QGLWidget::qt_cast(char const*)'
moc_mythmainwindow.o(.gnu.linkonce.r._ZTV14MythMainWindow+0xac):
undefined reference to `QGLWidget::setMouseTracking(bool)'
moc_mythmainwindow.o(.gnu.linkonce.r._ZTV14MythMainWindow+0x108):
undefined reference to `QGLWidget::reparent(QWidget*, unsigned, QPoint
const&, bool)'
moc_mythmainwindow.o(.gnu.linkonce.r._ZTV14MythMainWindow+0x148):
undefined reference to `QGLWidget::paintEvent(QPaintEvent*)'
moc_mythmainwindow.o(.gnu.linkonce.r._ZTV14MythMainWindow+0x150):
undefined reference to `QGLWidget::resizeEvent(QResizeEvent*)'
moc_mythmainwindow.o(.gnu.linkonce.r._ZTV14MythMainWindow+0x1c0):
undefined reference to `QGLWidget::makeCurrent()'
moc_mythmainwindow.o(.gnu.linkonce.r._ZTV14MythMainWindow+0x1c4):
undefined reference to `QGLWidget::swapBuffers()'
moc_mythmainwindow.o(.gnu.linkonce.r._ZTV14MythMainWindow+0x1c8):
undefined reference to `QGLWidget::setFormat(QGLFormat const&)'
moc_mythmainwindow.o(.gnu.linkonce.r._ZTV14MythMainWindow+0x1cc):
undefined reference to `QGLWidget::setContext(QGLContext*, QGLContext
const*, bool)'
moc_mythmainwindow.o(.gnu.linkonce.r._ZTV14MythMainWindow+0x1d0):
undefined reference to `QGLWidget::renderPixmap(int, int, bool)'
moc_mythmainwindow.o(.gnu.linkonce.r._ZTV14MythMainWindow+0x1d4):
undefined reference to `QGLWidget::grabFrameBuffer(bool)'
moc_mythmainwindow.o(.gnu.linkonce.r._ZTV14MythMainWindow+0x1d8):
undefined reference to `QGLWidget::makeOverlayCurrent()'
moc_mythmainwindow.o(.gnu.linkonce.r._ZTV14MythMainWindow+0x1dc):
undefined reference to `QGLWidget::updateGL()'
moc_mythmainwindow.o(.gnu.linkonce.r._ZTV14MythMainWindow+0x1e0):
undefined reference to `QGLWidget::updateOverlayGL()'
moc_mythmainwindow.o(.gnu.linkonce.r._ZTV14MythMainWindow+0x1e4):
undefined reference to `QGLWidget::initializeGL()'
moc_mythmainwindow.o(.gnu.linkonce.r._ZTV14MythMainWindow+0x1e8):
undefined reference to `QGLWidget::resizeGL(int, int)'
moc_mythmainwindow.o(.gnu.linkonce.r._ZTV14MythMainWindow+0x1ec):
undefined reference to `QGLWidget::paintGL()'
moc_mythmainwindow.o(.gnu.linkonce.r._ZTV14MythMainWindow+0x1f0):
undefined reference to `QGLWidget::initializeOverlayGL()'
moc_mythmainwindow.o(.gnu.linkonce.r._ZTV14MythMainWindow+0x1f4):
undefined reference to `QGLWidget::resizeOverlayGL(int, int)'
moc_mythmainwindow.o(.gnu.linkonce.r._ZTV14MythMainWindow+0x1f8):
undefined reference to `QGLWidget::paintOverlayGL()'
moc_mythmainwindow.o(.gnu.linkonce.r._ZTV14MythMainWindow+0x1fc):
undefined reference to `QGLWidget::glInit()'
moc_mythmainwindow.o(.gnu.linkonce.r._ZTV14MythMainWindow+0x200):
undefined reference to `QGLWidget::glDraw()'
moc_mythmainwindow.o(.gnu.linkonce.r._ZTI14MythMainWindow+0x8):
undefined reference to `typeinfo for QGLWidget'


More information about the mythtv-dev mailing list