[Qgis-developer] HEAD fails to compile

Gary Sherman sherman at mrcc.com
Fri Apr 13 16:07:41 EDT 2007


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"
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-






More information about the Qgis-developer mailing list