On Friday 21 March 2008, Chris Jones wrote: > Hello, > > I tried compiling PyQt today on my mac, and I got the following: > > =============================== > Undefined symbols: > "QGLContext::deleteTexture(unsigned int)", referenced from: > _meth_QGLContext_deleteTexture in sipQtOpenGLQGLContext.o > "QGLWidget::bindTexture(QImage const&, unsigned int, int)", referenced > from: > _meth_QGLWidget_bindTexture in sipQtOpenGLQGLWidget.o > "QGLFramebufferObject::QGLFramebufferObject(QSize const&, > QGLFramebufferObject::Attachment, unsigned int, unsigned int)", > referenced from: > sipQGLFramebufferObject::sipQGLFramebufferObject(QSize const&, > QGLFramebufferObject::Attachment, unsigned int, unsigned int)in > sipQtOpenGLQGLFramebufferObject.o > "QGLContext::bindTexture(QPixmap const&, unsigned int, int)", > referenced from: > _meth_QGLContext_bindTexture in sipQtOpenGLQGLContext.o > "QGLPixelBuffer::bindToDynamicTexture(unsigned int)", referenced from: > _meth_QGLPixelBuffer_bindToDynamicTexture in > sipQtOpenGLQGLPixelBuffer.o > "QGLPixelBuffer::bindTexture(QPixmap const&, unsigned int)", > referenced from: > _meth_QGLPixelBuffer_bindTexture in sipQtOpenGLQGLPixelBuffer.o > "QGLPixelBuffer::deleteTexture(unsigned int)", referenced from: > _meth_QGLPixelBuffer_deleteTexture in sipQtOpenGLQGLPixelBuffer.o > "QGLContext::bindTexture(QImage const&, unsigned int, int)", > referenced from: > _meth_QGLContext_bindTexture in sipQtOpenGLQGLContext.o > "QGLPixelBuffer::bindTexture(QImage const&, unsigned int)", referenced > from: > _meth_QGLPixelBuffer_bindTexture in sipQtOpenGLQGLPixelBuffer.o > "QGLFramebufferObject::QGLFramebufferObject(int, int, > QGLFramebufferObject::Attachment, unsigned int, unsigned int)", > referenced from: > sipQGLFramebufferObject::sipQGLFramebufferObject(int, int, > QGLFramebufferObject::Attachment, unsigned int, unsigned int)in > sipQtOpenGLQGLFramebufferObject.o > "QGLWidget::deleteTexture(unsigned int)", referenced from: > _meth_QGLWidget_deleteTexture in sipQtOpenGLQGLWidget.o > "QGLPixelBuffer::updateDynamicTexture(unsigned int) const", referenced > from: > _meth_QGLPixelBuffer_updateDynamicTexture in > sipQtOpenGLQGLPixelBuffer.o > "QGLFramebufferObject::QGLFramebufferObject(int, int, unsigned int)", > referenced from: > sipQGLFramebufferObject::sipQGLFramebufferObject(int, int, > unsigned int)in sipQtOpenGLQGLFramebufferObject.o > "QGLWidget::bindTexture(QPixmap const&, unsigned int, int)", > referenced from: > _meth_QGLWidget_bindTexture in sipQtOpenGLQGLWidget.o > "QGLFramebufferObject::QGLFramebufferObject(QSize const&, unsigned > int)", referenced from: > sipQGLFramebufferObject::sipQGLFramebufferObject(QSize const&, > unsigned int)in sipQtOpenGLQGLFramebufferObject.o > ld: symbol(s) not found > collect2: ld returned 1 exit status > make[1]: *** [QtOpenGL.so] Error 1 > make: *** [all] Error 2 > ois-cjones-mac:PyQt-mac-gpl-4.3.3 cjones$ > ========================================== > > I have no idea what any of this means, I'm not a programmer. Can anyone > give me some idea of what I need to do to fix this?
If you are using the Qt binary package from Trolltech then make sure you have the latest one installed (ie. Qt v4.3.4). Phil _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
