[geos-devel] Doubts

vishal tiwari hi.vishal123 at gmail.com
Sun Jun 23 05:22:24 PDT 2013


Hey,
i have fixed that problem, i was using the wrong spelling of
GeometryFactory. my bad. :)

Thanks,


On 22 June 2013 00:26, vishal tiwari <hi.vishal123 at gmail.com> wrote:

> I have included both the header files, but i am still getting the error. I
> am stuck with this for a long time now, i don't know what to do about it. I
> have attached the files to the mail.
>
>
> On 21 June 2013 18:39, Sandro Santilli <strk at keybit.net> wrote:
>
>> On Fri, Jun 21, 2013 at 04:50:35PM +0530, vishal tiwari wrote:
>> > Hey,
>> > I am facing some very silly problems when i try to compile
>> > QuadEdgeSubdivision.cpp.
>> > I have declared my getVoronoiCellPolygons as :
>> > void
>> > QuadEdgeSubdivision::getVoronoiCellPolygons(std::vector<geom::Geometry
>> *>
>> > &cells ,const geom::GeometryFactory& geomFact)
>> > {
>> > .....
>> > .....
>> > }
>> >
>> > And I have definition it in QuadEdgeSubdiviion.h as:
>> >
>> > void getVoronoiCellPolygons( std::vector<geom::Geometry *> &cells ,
>> const
>> > geom::GeomtryFactory &geomFact);
>> >
>> > And i am getting the following compilation error:
>> > In file included from QuadEdgeSubdivision.cpp:18:
>> > ../../../include/geos/triangulate/quadedge/QuadEdgeSubdivision.h:425:
>> > error: expected unqualified-id before ‘&’ token
>>
>> Sounds like a missing #include <geos/geom/GeometryFactory.h>
>> or a missing #include <vector>. You'll need both.
>>
>> --strk;
>>
>>   ~~ http://strk.keybit.net
>>
>> _______________________________________________
>> geos-devel mailing list
>> geos-devel at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/geos-devel
>>
>
>
>
> --
> Vishal Tiwari
> Undergraduate
> Computer Science and Engineering
> Lab for Spatial Informatics
> IIIT-Hyderabad
>



-- 
Vishal Tiwari
Undergraduate
Computer Science and Engineering
Lab for Spatial Informatics
IIIT-Hyderabad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geos-devel/attachments/20130623/e583662d/attachment.html>


More information about the geos-devel mailing list