<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello all,<div><br class="webkit-block-placeholder"></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>I'm new to the list and found it when I encountered problems trying compile PyQT on my Powerbook G4. I'm running a fresh copy of 10.5 then upgraded to 10.5.1. As this thread indicates: <br class="webkit-block-placeholder"></div><div><br class="webkit-block-placeholder"></div><div><a href="http://www.mail-archive.com/pyqt@riverbankcomputing.com/msg12139.html">http://www.mail-archive.com/pyqt@riverbankcomputing.com/msg12139.html</a></div><div><br class="webkit-block-placeholder"></div><div>I looked into the symlink mentioned, but apparently it's already set up - although curiously backwards from what the about thread indicates.</div><div><br class="webkit-block-placeholder"></div><div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;">brian@bjl-pbook ~ $ ls -l /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;">lrwxr-xr-x 1 root wheel 33 Nov 27 09:54 /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages -> /Library/Python/2.5/site-packages</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;"><br class="webkit-block-placeholder"></span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;">brian@bjl-pbook ~ $ ls -l /Library/Python/2.5/site-packages/</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;">total 480</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;">drwxr-xr-x 16 root admin 544 Nov 27 16:09 PyQt4</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;">-rw-rw-r-- 1 root admin 119 Oct 5 21:11 README</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;">-rwxr-xr-x 1 root admin 78392 Nov 26 15:51 sip.so</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;">-rw-r--r-- 1 root admin 83263 Nov 26 15:51 sipconfig.py</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;">-rw-r--r-- 1 brian admin 65968 Nov 26 15:51 sipconfig.pyc</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;">-rw-r--r--@ 1 root admin 3332 Nov 26 15:51 sipdistutils.py</span></font></div><div><br class="webkit-block-placeholder"></div></div><div><br class="webkit-block-placeholder"></div><div>I've re-compiled QT, but I still get the below error, also this only happens when compiling the OpenGL module not when compiling any other PyQT module (say QtSvg or QtSql). </div><div><br class="webkit-block-placeholder"></div><div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;">c++ -headerpad_max_install_names -bundle -F/System/Library/Frameworks -framework Python -o QtOpenGL.so sipQtOpenGLcmodule.o sipQtOpenGLQGLPixelBuffer.o sipQtOpenGLQGLFramebufferObject.o sipQtOpenGLQGLColormap.o sipQtOpenGLQGLWidget.o sipQtOpenGLQGLContext.o sipQtOpenGLQGLFormatOpenGLVersionFlags.o sipQtOpenGLQGLFormat.o sipQtOpenGLQGLFormatOptions.o sipQtOpenGLQGL.o -F/Library/Frameworks -L/Library/Frameworks -framework QtOpenGL -framework OpenGL -framework AGL -framework QtGui -framework Carbon -framework AppKit -framework QtCore -lz -lm -liconv -framework ApplicationServices -framework QtGui -framework Carbon -framework AppKit -framework QtCore -lz -lm -liconv -framework ApplicationServices -framework QtCore -lz -lm -liconv -framework ApplicationServices -framework OpenGL -framework AGL</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;">Undefined symbols:</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;"> "QGLContext::deleteTexture(unsigned int)", referenced from:</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;"> _meth_QGLContext_deleteTexture in sipQtOpenGLQGLContext.o</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;"> "QGLWidget::bindTexture(QImage const&, unsigned int, int)", referenced from:</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;"> _meth_QGLWidget_bindTexture in sipQtOpenGLQGLWidget.o</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;"> "QGLFramebufferObject::QGLFramebufferObject(QSize const&, QGLFramebufferObject::Attachment, unsigned int, unsigned int)", referenced from:</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;"> sipQGLFramebufferObject::sipQGLFramebufferObject(QSize const&, QGLFramebufferObject::Attachment, unsigned int, unsigned int)in sipQtOpenGLQGLFramebufferObject.o</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;"> "QGLContext::bindTexture(QPixmap const&, unsigned int, int)", referenced from:</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;"> _meth_QGLContext_bindTexture in sipQtOpenGLQGLContext.o</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;"> "QGLPixelBuffer::bindToDynamicTexture(unsigned int)", referenced from:</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;"> _meth_QGLPixelBuffer_bindToDynamicTexture in sipQtOpenGLQGLPixelBuffer.o</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;"> "QGLPixelBuffer::bindTexture(QPixmap const&, unsigned int)", referenced from:</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;"> _meth_QGLPixelBuffer_bindTexture in sipQtOpenGLQGLPixelBuffer.o</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;"> "QGLPixelBuffer::deleteTexture(unsigned int)", referenced from:</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;"> _meth_QGLPixelBuffer_deleteTexture in sipQtOpenGLQGLPixelBuffer.o</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;"> "QGLContext::bindTexture(QImage const&, unsigned int, int)", referenced from:</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;"> _meth_QGLContext_bindTexture in sipQtOpenGLQGLContext.o</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;"> "QGLPixelBuffer::bindTexture(QImage const&, unsigned int)", referenced from:</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;"> _meth_QGLPixelBuffer_bindTexture in sipQtOpenGLQGLPixelBuffer.o</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;"> "QGLFramebufferObject::QGLFramebufferObject(int, int, QGLFramebufferObject::Attachment, unsigned int, unsigned int)", referenced from:</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;"> sipQGLFramebufferObject::sipQGLFramebufferObject(int, int, QGLFramebufferObject::Attachment, unsigned int, unsigned int)in sipQtOpenGLQGLFramebufferObject.o</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;"> "QGLWidget::deleteTexture(unsigned int)", referenced from:</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;"> _meth_QGLWidget_deleteTexture in sipQtOpenGLQGLWidget.o</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;"> "QGLPixelBuffer::updateDynamicTexture(unsigned int) const", referenced from:</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;"> _meth_QGLPixelBuffer_updateDynamicTexture in sipQtOpenGLQGLPixelBuffer.o</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;"> "QGLFramebufferObject::QGLFramebufferObject(int, int, unsigned int)", referenced from:</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;"> sipQGLFramebufferObject::sipQGLFramebufferObject(int, int, unsigned int)in sipQtOpenGLQGLFramebufferObject.o</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;"> "QGLWidget::bindTexture(QPixmap const&, unsigned int, int)", referenced from:</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;"> _meth_QGLWidget_bindTexture in sipQtOpenGLQGLWidget.o</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;"> "QGLFramebufferObject::QGLFramebufferObject(QSize const&, unsigned int)", referenced from:</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;"> sipQGLFramebufferObject::sipQGLFramebufferObject(QSize const&, unsigned int)in sipQtOpenGLQGLFramebufferObject.o</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;">ld: symbol(s) not found</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;">collect2: ld returned 1 exit status</span></font></div><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;">make: *** [QtOpenGL.so] Error 1</span></font></div><div><br class="webkit-block-placeholder"></div><div>To make life more interesting, some of the OpenGL examples provided with QT don't compile in Xcode. For example the hellogl application <i>does</i> compile but the framebufferobject and framebufferobject2 applications do not.</div><div><br class="webkit-block-placeholder"></div><div><br class="webkit-block-placeholder"></div><div>framebufferobject</div><div><br class="webkit-block-placeholder"></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal 'Lucida Grande'; "><b>Building target “framebufferobject” of project “framebufferobject” with configuration “Debug” — (1 error)</b></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Courier; "><span style="font: 11.0px Lucida Grande"><b><span class="Apple-tab-span" style="white-space:pre">        </span></b></span> mkdir /Developer/Examples/Qt/opengl/framebufferobject/build/Debug/framebufferobject.app/Contents/MacOS</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Courier; "> cd /Developer/Examples/Qt/opengl/framebufferobject</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Courier; "> /Developer/usr/bin/g++-4.0 -o /Developer/Examples/Qt/opengl/framebufferobject/build/Debug/framebufferobject.app/Contents/MacOS/framebufferobject -L/Developer/Examples/Qt/opengl/framebufferobject/build/Debug -L/Library/Frameworks -L/System/Library/Frameworks -F/Developer/Examples/Qt/opengl/framebufferobject/build/Debug -filelist /Developer/Examples/Qt/opengl/framebufferobject/build/framebufferobject.build/Debug/framebufferobject.build/Objects-normal/ppc/framebufferobject.LinkFileList -framework QtSvg -framework QtXml -framework QtOpenGL -framework QtGui -framework Carbon -framework AppKit -framework QtCore -framework ApplicationServices -framework OpenGL -framework AGL -arch ppc -headerpad_max_install_names -L/Library/Frameworks -lz -lm -liconv</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i>Undefined symbols:</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i> "QGLFramebufferObject::QGLFramebufferObject(int, int, unsigned int)", referenced from:</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i> GLWidget::GLWidget(QWidget*)in glwidget.o</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i>ld: symbol(s) not found</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i>collect2: ld returned 1 exit status</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i><span class="Apple-tab-span" style="white-space:pre">                </span> "QGLFramebufferObject::QGLFramebufferObject(int, int, unsigned int)", referenced from:</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i><span class="Apple-tab-span" style="white-space:pre">                </span> GLWidget::GLWidget(QWidget*)in glwidget.o</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i><span class="Apple-tab-span" style="white-space:pre">                </span>ld: symbol(s) not found</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i><span class="Apple-tab-span" style="white-space:pre">                </span>collect2: ld returned 1 exit status</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">Build failed (1 error)</div></div><div><br class="webkit-block-placeholder"></div><div><br class="webkit-block-placeholder"></div><div>framebufferobject2</div><div><br class="webkit-block-placeholder"></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal 'Lucida Grande'; "><b>Building target “framebufferobject2” of project “framebufferobject2” with configuration “Debug” — (2 errors)</b></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Courier; "><span style="font: 11.0px Lucida Grande"><b><span class="Apple-tab-span" style="white-space:pre">        </span></b></span> cd /Developer/Examples/Qt/opengl/framebufferobject2</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Courier; "> /Developer/usr/bin/g++-4.0 -o /Developer/Examples/Qt/opengl/framebufferobject2/build/Debug/framebufferobject2.app/Contents/MacOS/framebufferobject2 -L/Developer/Examples/Qt/opengl/framebufferobject2/build/Debug -L/Library/Frameworks -L/System/Library/Frameworks -F/Developer/Examples/Qt/opengl/framebufferobject2/build/Debug -filelist /Developer/Examples/Qt/opengl/framebufferobject2/build/framebufferobject2.build/Debug/framebufferobject2.build/Objects-normal/ppc/framebufferobject2.LinkFileList -framework QtOpenGL -framework QtGui -framework Carbon -framework AppKit -framework QtCore -framework ApplicationServices -framework OpenGL -framework AGL -arch ppc -headerpad_max_install_names -L/Library/Frameworks -lz -lm -liconv</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i>Undefined symbols:</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i> "QGLWidget::bindTexture(QImage const&, unsigned int, int)", referenced from:</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i> GLWidget::initializeGL() in glwidget.o</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i> "QGLFramebufferObject::QGLFramebufferObject(int, int, unsigned int)", referenced from:</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i> GLWidget::GLWidget(QWidget*)in glwidget.o</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i>ld: symbol(s) not found</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i>collect2: ld returned 1 exit status</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i><span class="Apple-tab-span" style="white-space:pre">                </span> "QGLWidget::bindTexture(QImage const&, unsigned int, int)", referenced from:</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i><span class="Apple-tab-span" style="white-space:pre">                </span> GLWidget::initializeGL() in glwidget.o</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i><span class="Apple-tab-span" style="white-space:pre">                </span> "QGLFramebufferObject::QGLFramebufferObject(int, int, unsigned int)", referenced from:</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i><span class="Apple-tab-span" style="white-space:pre">                </span> GLWidget::GLWidget(QWidget*)in glwidget.o</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i><span class="Apple-tab-span" style="white-space:pre">                </span>ld: symbol(s) not found</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i><span class="Apple-tab-span" style="white-space:pre">                </span>collect2: ld returned 1 exit status</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">Build failed (2 errors)</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; "><br class="webkit-block-placeholder"></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; "><br class="webkit-block-placeholder"></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">So I imagine I've found a problem with how QT has set up it's linker preferences, and being that I'm new to both QT and how OSX utilizes Frameworks I thought I'd ask the experts, and see if there were any wise words that could be shared with me.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; "><br class="webkit-block-placeholder"></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">Cheers,</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">Brian</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; "><br class="webkit-block-placeholder"></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; "><br class="webkit-block-placeholder"></div></div></div></body></html>