<div dir="ltr">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.</div><div class="gmail_extra">
<br><br><div class="gmail_quote">On 21 June 2013 18:39, Sandro Santilli <span dir="ltr"><<a href="mailto:strk@keybit.net" target="_blank">strk@keybit.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Fri, Jun 21, 2013 at 04:50:35PM +0530, vishal tiwari wrote:<br>
> Hey,<br>
> I am facing some very silly problems when i try to compile<br>
> QuadEdgeSubdivision.cpp.<br>
> I have declared my getVoronoiCellPolygons as :<br>
> void<br>
> QuadEdgeSubdivision::getVoronoiCellPolygons(std::vector<geom::Geometry *><br>
> &cells ,const geom::GeometryFactory& geomFact)<br>
> {<br>
> .....<br>
> .....<br>
> }<br>
><br>
> And I have definition it in QuadEdgeSubdiviion.h as:<br>
><br>
> void getVoronoiCellPolygons( std::vector<geom::Geometry *> &cells , const<br>
> geom::GeomtryFactory &geomFact);<br>
><br>
> And i am getting the following compilation error:<br>
> In file included from QuadEdgeSubdivision.cpp:18:<br>
> ../../../include/geos/triangulate/quadedge/QuadEdgeSubdivision.h:425:<br>
> error: expected unqualified-id before ‘&’ token<br>
<br>
</div>Sounds like a missing #include <geos/geom/GeometryFactory.h><br>
or a missing #include <vector>. You'll need both.<br>
<br>
--strk;<br>
<br>
  ~~ <a href="http://strk.keybit.net" target="_blank">http://strk.keybit.net</a><br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
geos-devel mailing list<br>
<a href="mailto:geos-devel@lists.osgeo.org">geos-devel@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geos-devel" target="_blank">http://lists.osgeo.org/mailman/listinfo/geos-devel</a></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Vishal Tiwari<div>
Undergraduate</div><div>Computer Science and Engineering</div><div>Lab for Spatial Informatics</div><div>IIIT-Hyderabad</div></div>
</div>