[PyQt] PyQt compile error

Chris Jones cjones at pittstate.edu
Fri Mar 21 15:27:09 GMT 2008


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?

- Chris

--
Chris Jones
Senior Systems Manager
Pittsburg State University
Phone: 620-235-4158
E-mail: cjones at pittstate.edu
-- 

There isn't much difference between Linux and Unix.

Just think of Linux as Unix, written by 1,000 monkeys who have never seen Unix before. 



More information about the PyQt mailing list