<div dir="ltr">I should have mentioned these before:<div><br></div><div>>> c++ myGEOSVoronoiDiagramBuilder.cpp -L /usr/local/lib  -lgeos_c</div><div><br></div><div><div>/usr/local/lib/libgeos_c.so: undefined reference to `geos::triangulate::VoronoiDiagramBuilder::setSites(geos::geom::Geometry const&)'</div>
<div>/usr/local/lib/libgeos_c.so: undefined reference to `geos::triangulate::VoronoiDiagramBuilder::~VoronoiDiagramBuilder()'</div><div>/usr/local/lib/libgeos_c.so: undefined reference to `geos::triangulate::VoronoiDiagramBuilder::getDiagram(geos::geom::GeometryFactory const&)'</div>
<div>/usr/local/lib/libgeos_c.so: undefined reference to `geos::triangulate::VoronoiDiagramBuilder::VoronoiDiagramBuilder()'</div><div>/usr/local/lib/libgeos_c.so: undefined reference to `geos::triangulate::VoronoiDiagramBuilder::setTolerance(double)'</div>
<div>collect2: ld returned 1 exit status</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 1 August 2013 01:09, vishal tiwari <span dir="ltr"><<a href="mailto:hi.vishal123@gmail.com" target="_blank">hi.vishal123@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I have implemented the C wrapper for VoronoiDiagramBuilder, by looking at other functions as you mentioned before. Now i do a make install in C-API directory.<div>
Now to include in it in my files, I include "geos_c.h" in my "mytestfile.cpp" and link it to geos_c. But it shows that it's not able to find VoronoiDiagramBuilder class methods.</div>
<div><br></div><div>How do i fix it?</div><div><br></div><div>Thanks,</div></div><div class="gmail_extra"><div><div class="h5"><br><br><div class="gmail_quote">On 29 July 2013 22:15, 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><div>On Mon, Jul 29, 2013 at 04:55:29PM +0530, vishal tiwari wrote:<br>
> Hey,<br>
><br>
> I have been looking at how the C wrapper is implemented. Is there any<br>
> documentation on it? As of now i have been looking at this :<br>
> <a href="http://trac.osgeo.org/geos/wiki/RFC3" target="_blank">http://trac.osgeo.org/geos/wiki/RFC3</a><br>
<br>
</div></div>There is no documentation about how things are done, but it should<br>
be pretty straightforward to see by looking at other functions having<br>
an interface similar to the one you need. I guess in this case<br>
the DelaunayTriangulation function is the closest.<br>
<br>
--strk;<br>
_______________________________________________<br>
geos-devel mailing list<br>
<a href="mailto:geos-devel@lists.osgeo.org" target="_blank">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><br>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <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>

</font></span></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>