[geos-devel] Possible to link dynamically to GEOS C interface?

Mateusz Loskot mateusz at loskot.net
Fri Oct 19 04:53:15 PDT 2012


On 19 October 2012 12:22, Crispin Cooper <cooperch at cf.ac.uk> wrote:
> Hi
>
> I am having trouble with my dll finding geos_c.dll at runtime - even though
> they're located together!  I wonder if it's possible to link
> dynamically/explicitly to it somehow, then I could specify the right path?

Yes, geos_i.lib is the import library for geos.dll.
Check:
http://trac.osgeo.org/geos/browser/trunk/nmake.opt#L160
http://trac.osgeo.org/geos/browser/trunk/src/Makefile.vc#L4

> The docs (http://geos.osgeo.org/doxygen/c_iface.html) only seem to describe
> static linking.

It doesn't say anything about static linking.

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net


More information about the geos-devel mailing list