<div>Hi</div>
<div>&nbsp;</div>
<div>I am also getting these warnings for geos_c.h file. Are these of any significance?</div>
<div>&nbsp;</div>
<div>..\ogr\geos_c.h(134) : warning C4518: '__declspec(dllexport ) ' : storage-class or type specifier(s) unexpected here; ignored<br>..\ogr\geos_c.h(151) : warning C4518: '__declspec(dllexport ) ' : storage-class or type specifier(s) unexpected here; ignored
<br>..\ogr\geos_c.h(154) : warning C4518: '__declspec(dllexport ) ' : storage-class or type specifier(s) unexpected here; ignored<br>..\ogr\geos_c.h(168) : warning C4518: '__declspec(dllexport ) ' : storage-class or type specifier(s) unexpected here; ignored
<br>..\ogr\geos_c.h(174) : warning C4518: '__declspec(dllexport ) ' : storage-class or type specifier(s) unexpected here; ignored<br>..\ogr\geos_c.h(225) : warning C4518: '__declspec(dllexport ) ' : storage-class or type specifier(s) unexpected here; ignored
<br>..\ogr\geos_c.h(226) : warning C4518: '__declspec(dllexport ) ' : storage-class or type specifier(s) unexpected here; ignored<br>..\ogr\geos_c.h(227) : warning C4518: '__declspec(dllexport ) ' : storage-class or type specifier(s) unexpected here; ignored
<br>..\ogr\geos_c.h(234) : warning C4518: '__declspec(dllexport ) ' : storage-class or type specifier(s) unexpected here; ignored<br>..\ogr\geos_c.h(236) : warning C4518: '__declspec(dllexport ) ' : storage-class or type specifier(s) unexpected here; ignored
<br>..\ogr\geos_c.h(239) : warning C4518: '__declspec(dllexport ) ' : storage-class or type specifier(s) unexpected here; ignored<br>..\ogr\geos_c.h(256) : warning C4518: '__declspec(dllexport ) ' : storage-class or type specifier(s) unexpected here; ignored
<br>..\ogr\geos_c.h(257) : warning C4518: '__declspec(dllexport ) ' : storage-class or type specifier(s) unexpected here; ignored<br>..\ogr\geos_c.h(258) : warning C4518: '__declspec(dllexport ) ' : storage-class or type specifier(s) unexpected here; ignored
<br>..\ogr\geos_c.h(260) : warning C4518: '__declspec(dllexport ) ' : storage-class or type specifier(s) unexpected here; ignored<br>..\ogr\geos_c.h(261) : warning C4518: '__declspec(dllexport ) ' : storage-class or type specifier(s) unexpected here; ignored
<br>..\ogr\geos_c.h(262) : warning C4518: '__declspec(dllexport ) ' : storage-class or type specifier(s) unexpected here; ignored<br>..\ogr\geos_c.h(264) : warning C4518: '__declspec(dllexport ) ' : storage-class or type specifier(s) unexpected here; ignored
<br>..\ogr\geos_c.h(265) : warning C4518: '__declspec(dllexport ) ' : storage-class or type specifier(s) unexpected here; ignored<br>..\ogr\geos_c.h(266) : warning C4518: '__declspec(dllexport ) ' : storage-class or type specifier(s) unexpected here; ignored
<br>..\ogr\geos_c.h(267) : warning C4518: '__declspec(dllexport ) ' : storage-class or type specifier(s) unexpected here; ignored<br>..\ogr\geos_c.h(274) : warning C4518: '__declspec(dllexport ) ' : storage-class or type specifier(s) unexpected here; ignored
<br>..\ogr\geos_c.h(277) : warning C4518: '__declspec(dllexport ) ' : storage-class or type specifier(s) unexpected here; ignored<br>..\ogr\geos_c.h(278) : warning C4518: '__declspec(dllexport ) ' : storage-class or type specifier(s) unexpected here; ignored
<br>..\ogr\geos_c.h(279) : warning C4518: '__declspec(dllexport ) ' : storage-class or type specifier(s) unexpected here; ignored<br>..\ogr\geos_c.h(344) : warning C4518: '__declspec(dllexport ) ' : storage-class or type specifier(s) unexpected here; ignored
<br>..\ogr\geos_c.h(357) : warning C4518: '__declspec(dllexport ) ' : storage-class or type specifier(s) unexpected here; ignored<br>..\ogr\geos_c.h(364) : warning C4518: '__declspec(dllexport ) ' : storage-class or type specifier(s) unexpected here; ignored
<br>..\ogr\geos_c.h(373) : warning C4518: '__declspec(dllexport ) ' : storage-class or type specifier(s) unexpected here; ignored</div>
<div>&nbsp;</div>
<div>I am still unable to build GDAL with GEOS.</div>
<div>&nbsp;</div>
<div>Best Regards</div>
<div>&nbsp;</div>
<div>Mir<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 11/14/06, <b class="gmail_sendername"><a href="mailto:strk@refractions.net">strk@refractions.net</a></b> &lt;<a href="mailto:strk@refractions.net">strk@refractions.net</a>&gt; wrote:</span>

<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Argh.. sounds related to latest 'const-correctness' or 'integer signedness'<br>changes in the CAPI header file, is this possible ?
<br>I'm not an expert of the __declspec(dllexport) thing ...<br><br>--strk;<br><br>On Mon, Nov 13, 2006 at 05:13:30PM +0000, Mir Hassan Ali wrote:<br>&gt; Hi Frank,<br>&gt;<br>&gt; I downloaded the GDAL snapshot on 6th November 2006, so i assume it includes
<br>&gt; the latest changes. When I compile it without the GEOS support, i.e the<br>&gt; following lines are commented in the nmake.opt file are commented:<br>&gt;<br>&gt;<br>&gt; GEOS_CFLAGS = -IC:/GEOS/trunk/capi -DHAVE_GEOS
<br>&gt;<br>&gt; GEOS_LIB = C:/GEOS/trunk/source/geos_c_i.lib<br>&gt; But when I uncomment these lines and try to build the API it gives me the<br>&gt; following link errors:<br>&gt;<br>&gt; Creating library gdal_i.lib and object gdal_i.exp
<br>&gt; ogr.lib(ogrgeometry.obj) : error LNK2019: unresolved external symbol<br>&gt; _GEOSGeomFr<br>&gt; omWKB_buf referenced in function &quot;public: virtual struct GEOSGeom_t *<br>&gt; __thiscall<br>&gt; OGRGeometry::exportToGEOS(void)const &quot; (
<br>&gt; ?exportToGEOS@OGRGeometry@@UBEPAUGEOSGe<br>&gt; om_t@@XZ)<br>&gt; ogr.lib(ogrgeometry.obj) : error LNK2019: unresolved external symbol<br>&gt; _GEOSConvex<br>&gt; Hull referenced in function &quot;public: virtual class OGRGeometry * __thiscall
<br>&gt; OGRG<br>&gt; eometry::ConvexHull(void)const &quot; (?ConvexHull@OGRGeometry@@UBEPAV1@XZ )<br>&gt; ogr.lib(ogrgeometry.obj ) : error LNK2019: unresolved external symbol<br>&gt; _GEOSBounda<br>&gt; ry referenced in function &quot;public: virtual class OGRGeometry * __thiscall
<br>&gt; OGRGeo<br>&gt; metry::getBoundary(void)const &quot; ( ?getBoundary@OGRGeometry@@UBEPAV1@XZ)<br>&gt; ogr.lib(ogrgeometry.obj) : error LNK2019: unresolved external symbol<br>&gt; _GEOSBuffer<br>&gt; referenced in function &quot;public: virtual class OGRGeometry * __thiscall
<br>&gt; OGRGeome<br>&gt; try::Buffer(double,int)const &quot; ( ?Buffer@OGRGeometry@@UBEPAV1@NH@Z)<br>&gt; ogr.lib(ogrgeometry.obj) : error LNK2019: unresolved external symbol<br>&gt; _GEOSInters<br>&gt; ection referenced in function &quot;public: virtual class OGRGeometry *
<br>&gt; __thiscall OG<br>&gt; RGeometry::Intersection(class OGRGeometry const *)const &quot;<br>&gt; (?Intersection@OGRGeom<br>&gt; etry@@UBEPAV1@PBV1@@Z)<br>&gt; ogr.lib(ogrgeometry.obj ) : error LNK2019: unresolved external symbol
<br>&gt; _GEOSUnion<br>&gt; referenced in function &quot;public: virtual class OGRGeometry * __thiscall<br>&gt; OGRGeomet<br>&gt; ry::Union(class OGRGeometry const *)const &quot;<br>&gt; (?Union@OGRGeometry@@UBEPAV1@PBV1@@Z
<br>&gt; )<br>&gt; ogr.lib(ogrgeometry.obj) : error LNK2019: unresolved external symbol<br>&gt; _GEOSDiffer<br>&gt; ence referenced in function &quot;public: virtual class OGRGeometry * __thiscall<br>&gt; OGRG<br>&gt; eometry::Difference(class OGRGeometry const *)const &quot; (
<br>&gt; ?Difference@OGRGeometry@@<br>&gt; UBEPAV1@PBV1@@Z)<br>&gt; ogr.lib(ogrgeometry.obj) : error LNK2019: unresolved external symbol<br>&gt; _GEOSSymDif<br>&gt; ference referenced in function &quot;public: virtual class OGRGeometry *
<br>&gt; __thiscall O<br>&gt; GRGeometry::SymmetricDifference(class OGRGeometry const *)const &quot;<br>&gt; (?SymmetricDif<br>&gt; ference@OGRGeometry@@UBEPAV1@PBV1@@Z)<br>&gt; ogr.lib(ogrpolygon.obj) : error LNK2019: unresolved external symbol
<br>&gt; _GEOSGetCent<br>&gt; roid referenced in function &quot;public: virtual int __thiscall<br>&gt; OGRPolygon::Centroid<br>&gt; (class OGRPoint *)const &quot; ( ?Centroid@OGRPolygon@@UBEHPAVOGRPoint@@@Z)<br>&gt; gdal13.dll
 : fatal error LNK1120: 9 unresolved externals<br>&gt; NMAKE : fatal error U1077: 'link' : return code '0x460'<br>&gt; Stop.<br>&gt;<br>&gt; Is there something else that I need to do in addition to the changes<br>&gt; mentioned above to the 
nmake.opt file. Please note that I am using the<br>&gt; latest version of the GEOS API. I checked it out from the subversion trunk<br>&gt; and built it. It builds fine without any errors or warnings.<br>&gt;<br>&gt; Best Regards
<br>_______________________________________________<br>geos-devel mailing list<br><a href="mailto:geos-devel@geos.refractions.net">geos-devel@geos.refractions.net</a><br><a href="http://geos.refractions.net/mailman/listinfo/geos-devel">
http://geos.refractions.net/mailman/listinfo/geos-devel</a><br></blockquote></div><br>