[prev in list] [next in list] [prev in thread] [next in thread] 

List:       qgis-developer
Subject:    Re: [Qgis-developer] build error
From:       "Martin Dobias" <wonder.sk () gmail ! com>
Date:       2008-11-29 17:01:58
Message-ID: e8e7199c0811290901p789f050ckbec0b34de65a3137 () mail ! gmail ! com
[Download RAW message or body]

Hi Marco,

On Sat, Nov 29, 2008 at 2:55 PM, Marco Cecchetti <mrc.ildp@gmail.com> wrote:
> Hello,
> I hope this is the right place to submit this issue:
>
> I'm trying to build qgis package for slackware and I get this error with new
> versions for pyqt and sip (pyqt4-4.4.4, sip-4.7.9)
>
> [ 71%] Generating core/core.so
> sipcoreQgsGeometry.cpp: In function 'PyObject*
> meth_QgsGeometry_setWkbAndOwnership(PyObject*, PyObject*)':
> sipcoreQgsGeometry.cpp:328: error: 'size_t' is not a member of
> 'QgsGeometry'

what sources do you use? This problem with new version of SIP has been
fixed some time ago in SVN trunk.

If you want just a quick fix without upgrading, edit
python/core/qgsgeometry.sip and move size_t typedef statement before
QgsGeometry class. And IIRC you'll need to delete size_t typedef
statement from python/core/qgsfeature.sip.

Bye
Martin
_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic