[Qgis-developer] HEAD fails to compile

Martin Dobias wonder.sk at gmail.com
Sun Apr 15 06:12:51 EDT 2007


I've added those calls to have the possibility to create geometries
also directly (without WKB). I was not aware of that geos 2.1.x
doesn't support it however I hope that it's okay to drop support of it
and support geos >= 2.2

Martin

On 4/13/07, Gary Sherman <sherman at mrcc.com> wrote:
> It appears that geos::CoordinateSequenceFactory::create(int, int)
> const is not present in geos 2.1.4 and that latest merge introduced
> its use into QGIS. I upgraded my geos to latest 2.x and that solved
> the problem.
>
> -gary
>
> On Apr 13, 2007, at 5:59 AM, Gary Sherman wrote:
>
> > Has there been a change in the GEOS dependency?
> >
> > /home/gsherman/development/qgis_09/src/core/qgsgeometry.cpp: In
> > static member function 'static QgsGeometry*
> > QgsGeometry::fromPolyline(const QgsPolyline&)':
> > /home/gsherman/development/qgis_09/src/core/qgsgeometry.cpp:91:
> > error: no matching function for call to
> > 'geos::CoordinateSequenceFactory::create(int, int) const'
> > /usr/local/include/geos/geom.h:993: note: candidates are: virtual
> > geos::CoordinateSequence* geos::CoordinateSequenceFactory::create
> > (std::vector<geos::Coordinate, std::allocator<geos::Coordinate> >*)
> > const
> > /home/gsherman/development/qgis_09/src/core/qgsgeometry.cpp: In
> > static member function 'static QgsGeometry* QgsGeometry::fromPolygon
> > (const QgsPolygon&)':
> > /home/gsherman/development/qgis_09/src/core/qgsgeometry.cpp:113:
> > error: no matching function for call to
> > 'geos::CoordinateSequenceFactory::create(int, int) const'
> > /usr/local/include/geos/geom.h:993: note: candidates are: virtual
> > geos::CoordinateSequence* geos::CoordinateSequenceFactory::create
> > (std::vector<geos::Coordinate, std::allocator<geos::Coordinate> >*)
> > const
> >
> > -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
> > Gary Sherman
> > Micro Resources: http://mrcc.com
> >   *Geospatial Hosting
> >   *Web Site Hosting
> > "We work virtually everywhere"
> > -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
> >
> >
> >
> > _______________________________________________
> > Qgis-developer mailing list
> > Qgis-developer at lists.qgis.org
> > http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-developer
>
> -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
> Gary Sherman
> Micro Resources: http://mrcc.com
>    *Geospatial Hosting
>    *Web Site Hosting
> "We work virtually everywhere"
> -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
>
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.qgis.org
> http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-developer
>



More information about the Qgis-developer mailing list