<div>Hi</div>
<div>&nbsp;</div>
<div>I am trying to build GDAL with GEOS support and I am getting these linker errors</div>
<div>&nbsp;</div>
<div>
<div>Microsoft (R) Incremental Linker Version 7.10.3077<br>Copyright (C) Microsoft Corporation.&nbsp; All rights reserved.</div>
<div>&nbsp;</div>
<div>&nbsp;&nbsp; Creating library gdal_i.lib and object gdal_i.exp<br>ogr.lib(ogrgeometry.obj) : error LNK2019: unresolved external symbol _GEOSGeomFr<br>omWKB_buf referenced in function &quot;public: virtual struct GEOSGeom_t * __thiscall
<br>&nbsp;OGRGeometry::exportToGEOS(void)const &quot; (<a href="mailto:?exportToGEOS@OGRGeometry@@UBEPAUGEOSGe">?exportToGEOS@OGRGeometry@@UBEPAUGEOSGe</a><br><a href="mailto:om_t@@XZ">om_t@@XZ</a>)<br>ogr.lib(ogrgeometry.obj) : error LNK2019: unresolved external symbol _GEOSConvex
<br>Hull referenced in function &quot;public: virtual class OGRGeometry * __thiscall OGRG<br>eometry::ConvexHull(void)const &quot; (<a href="mailto:?ConvexHull@OGRGeometry@@UBEPAV1@XZ">?ConvexHull@OGRGeometry@@UBEPAV1@XZ</a>
)<br>ogr.lib(ogrgeometry.obj) : error LNK2019: unresolved external symbol _GEOSBounda<br>ry referenced in function &quot;public: virtual class OGRGeometry * __thiscall OGRGeo<br>metry::getBoundary(void)const &quot; (<a href="mailto:?getBoundary@OGRGeometry@@UBEPAV1@XZ">
?getBoundary@OGRGeometry@@UBEPAV1@XZ</a>)<br>ogr.lib(ogrgeometry.obj) : error LNK2019: unresolved external symbol _GEOSBuffer<br>&nbsp;referenced in function &quot;public: virtual class OGRGeometry * __thiscall OGRGeome<br>try::Buffer(double,int)const &quot; (
<a href="mailto:?Buffer@OGRGeometry@@UBEPAV1@NH@Z">?Buffer@OGRGeometry@@UBEPAV1@NH@Z</a>)<br>ogr.lib(ogrgeometry.obj) : error LNK2019: unresolved external symbol _GEOSInters<br>ection referenced in function &quot;public: virtual class OGRGeometry * __thiscall OG
<br>RGeometry::Intersection(class OGRGeometry const *)const &quot; (<a href="mailto:?Intersection@OGRGeom">?Intersection@OGRGeom</a><br><a href="mailto:etry@@UBEPAV1@PBV1@@Z">etry@@UBEPAV1@PBV1@@Z</a>)<br>ogr.lib(ogrgeometry.obj
) : error LNK2019: unresolved external symbol _GEOSUnion<br>referenced in function &quot;public: virtual class OGRGeometry * __thiscall OGRGeomet<br>ry::Union(class OGRGeometry const *)const &quot; (<a href="mailto:?Union@OGRGeometry@@UBEPAV1@PBV1@@Z">
?Union@OGRGeometry@@UBEPAV1@PBV1@@Z</a><br>)<br>ogr.lib(ogrgeometry.obj) : error LNK2019: unresolved external symbol _GEOSDiffer<br>ence referenced in function &quot;public: virtual class OGRGeometry * __thiscall OGRG<br>
eometry::Difference(class OGRGeometry const *)const &quot; (<a href="mailto:?Difference@OGRGeometry">?Difference@OGRGeometry</a>@@<br><a href="mailto:UBEPAV1@PBV1@@Z">UBEPAV1@PBV1@@Z</a>)<br>ogr.lib(ogrgeometry.obj) : error LNK2019: unresolved external symbol _GEOSSymDif
<br>ference referenced in function &quot;public: virtual class OGRGeometry * __thiscall O<br>GRGeometry::SymmetricDifference(class OGRGeometry const *)const &quot; (?SymmetricDif<br><a href="mailto:ference@OGRGeometry@@UBEPAV1@PBV1@@Z">
ference@OGRGeometry@@UBEPAV1@PBV1@@Z</a>)<br>ogr.lib(ogrpolygon.obj) : error LNK2019: unresolved external symbol _GEOSGetCent<br>roid referenced in function &quot;public: virtual int __thiscall OGRPolygon::Centroid<br>(class OGRPoint *)const &quot; (
<a href="mailto:?Centroid@OGRPolygon@@UBEHPAVOGRPoint@@@Z">?Centroid@OGRPolygon@@UBEHPAVOGRPoint@@@Z</a>)<br>gdal13.dll : fatal error LNK1120: 9 unresolved externals<br>NMAKE : fatal error U1077: 'link' : return code '0x460'
<br>Stop.</div>
<div>&nbsp;</div>
<div>Does anyone knows how to resolve these issues. I am using the latest GDAL and GEOS releases.</div>
<div>&nbsp;</div>
<div>Best Regards</div>
<div>&nbsp;</div>
<div>Mir Hassan Ali</div></div>