[Qgis-developer] PyQt compile problem
William Kyngesburye
woklist at kyngchaos.com
Wed Nov 12 09:27:00 EST 2008
Has anyone tried using the latest SIP 4.7.8/PyQt 4.4.4? I get an error:
[ 61%] Generating core/core.so
sipcoreQgsGeometry.cpp: In function ‘PyObject*
meth_QgsGeometry_fromWkb(PyObject*, PyObject*)’:
sipcoreQgsGeometry.cpp:328: error: ‘size_t’ is not a member of
‘QgsGeometry’
sipcoreQgsGeometry.cpp:328: error: expected `;' before ‘a1’
sipcoreQgsGeometry.cpp:331: error: ‘a1’ was not declared in this scope
/Users/Shared/src/qgis/svn/qgis-1.0.0p2/python/core/qgsgeometry.sip:
67: error: no matching function for call to
‘QgsGeometry::fromWkb(unsigned char*&, <type error>)’
/Users/Shared/src/qgis/svn/qgis-1.0.0p2/src/core/qgsgeometry.h:108:
note: candidates are: void QgsGeometry::fromWkb(unsigned char*, size_t)
sipcoreQgsGeometry.cpp: In function ‘PyObject*
meth_QgsGeometry_wkbSize(PyObject*, PyObject*)’:
sipcoreQgsGeometry.cpp:389: error: ‘size_t’ is not a member of
‘QgsGeometry’
sipcoreQgsGeometry.cpp:389: error: expected `;' before ‘sipRes’
sipcoreQgsGeometry.cpp:392: error: ‘sipRes’ was not declared in this
scope
sipcoreQgsGeometry.cpp:395: error: ‘sipRes’ was not declared in this
scope
sipcoreQgsGeometry.cpp: In function ‘PyObject*
meth_QgsGeometry_fromWkb(PyObject*, PyObject*)’:
sipcoreQgsGeometry.cpp:328: error: ‘size_t’ is not a member of
‘QgsGeometry’
sipcoreQgsGeometry.cpp:328: error: expected `;' before ‘a1’
sipcoreQgsGeometry.cpp:331: error: ‘a1’ was not declared in this scope
/Users/Shared/src/qgis/svn/qgis-1.0.0p2/python/core/qgsgeometry.sip:
67: error: no matching function for call to
‘QgsGeometry::fromWkb(unsigned char*&, <type error>)’
I compiles when I revert to the previous SIP 4.7.7/PyQt 4.4.3.
All using Qt 4.4.2.
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
"Those people who most want to rule people are, ipso-facto, those
least suited to do it."
- A rule of the universe, from the HitchHiker's Guide to the Galaxy
More information about the Qgis-developer
mailing list