[geos-devel] Create project in visual studio 2008

Sergey Kolosov sergey.kolosof at gmail.com
Mon May 19 00:29:06 PDT 2014


I've figured out, why geos.lib threw exception - it's just because of
mixing Release and Debug configurations. After switching my project to
Release configuration all works fine.


2014-04-21 10:13 GMT+04:00 Sergey Kolosov <sergey.kolosof at gmail.com>:

> I've also failed to get geos.lib working in my project. I downloaded
> version 3.4.2 via SVN and built it with NMAKE. Then i included geos.lib in
> my project, added paths and tried to run this code:
>
>     initGEOS(NULL, NULL);
>     char* wktPoint = "POINT(10 10)";
>     GEOSGeometry* point = GEOSGeomFromWKT(wktPoint);
>
> Here GEOSGeomFromWKT threw exception "A buffer overrun has occurred...".
> I'm using NMAKE from Visual Studio 2008 Express, Windows 7 x64.
>
>
> 2014-04-18 12:11 GMT+04:00 Sergey Kolosov <sergey.kolosof at gmail.com>:
>
> Good day everyone.
>>
>> Can i open geos as a project in Visual Studio 2008 Express? I've tried to
>> create new project from existing code, but got many errors "LNK2019
>> unresolved external symbol".
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geos-devel/attachments/20140519/84435bbe/attachment.html>


More information about the geos-devel mailing list