Hello, I'm trying to compile PyQt, getting an error, thought I should report it:
g++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -fPIC -Wall -W -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.8/mkspecs/macx-g++ -I. -I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore -I/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/usr/include/QtGui -I/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers -I/usr/include/QtOpenGL -I/usr/include -I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -I../../QtOpenGL -I. -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/System/Library/Frameworks/AGL.framework/Headers -I. -F/Library/Frameworks -o qpyopengl_attribute_array.o qpyopengl_attribute_array.cpp qpyopengl_attribute_array.cpp: In function 'const GLfloat* qpyopengl_attribute_array(PyObject*, PyObject*, PyObject*, int*, sipErrorState*)': qpyopengl_attribute_array.cpp:260: error: invalid conversion from 'void (*)(void*, void*)' to 'void (*)(void*)' qpyopengl_attribute_array.cpp:260: error: initializing argument 2 of 'PyObject* PyCObject_FromVoidPtr(void*, void (*)(void*))' make[2]: *** [qpyopengl_attribute_array.o] Error 1 make[1]: *** [all] Error 2 make: *** [all] Error 2 I'd just installed Qt 4.8.0 via the .dmg file provided by Nokia gcc version: i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3) sip-4.13 installed with no problems Platform is OS X Snow Leopard, version 10.6.8 thanks! ~swain
_______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt