<div>Hi</div>
<div> </div>
<div>I am also getting these warnings for geos_c.h file. Are these of any significance?</div>
<div> </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> </div>
<div>I am still unable to build GDAL with GEOS.</div>
<div> </div>
<div>Best Regards</div>
<div> </div>
<div>Mir<br><br> </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> <<a href="mailto:strk@refractions.net">strk@refractions.net</a>> 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>> Hi Frank,<br>><br>> I downloaded the GDAL snapshot on 6th November 2006, so i assume it includes
<br>> the latest changes. When I compile it without the GEOS support, i.e the<br>> following lines are commented in the nmake.opt file are commented:<br>><br>><br>> GEOS_CFLAGS = -IC:/GEOS/trunk/capi -DHAVE_GEOS
<br>><br>> GEOS_LIB = C:/GEOS/trunk/source/geos_c_i.lib<br>> But when I uncomment these lines and try to build the API it gives me the<br>> following link errors:<br>><br>> Creating library gdal_i.lib and object gdal_i.exp
<br>> ogr.lib(ogrgeometry.obj) : error LNK2019: unresolved external symbol<br>> _GEOSGeomFr<br>> omWKB_buf referenced in function "public: virtual struct GEOSGeom_t *<br>> __thiscall<br>> OGRGeometry::exportToGEOS(void)const " (
<br>> ?exportToGEOS@OGRGeometry@@UBEPAUGEOSGe<br>> om_t@@XZ)<br>> ogr.lib(ogrgeometry.obj) : error LNK2019: unresolved external symbol<br>> _GEOSConvex<br>> Hull referenced in function "public: virtual class OGRGeometry * __thiscall
<br>> OGRG<br>> eometry::ConvexHull(void)const " (?ConvexHull@OGRGeometry@@UBEPAV1@XZ )<br>> ogr.lib(ogrgeometry.obj ) : error LNK2019: unresolved external symbol<br>> _GEOSBounda<br>> ry referenced in function "public: virtual class OGRGeometry * __thiscall
<br>> OGRGeo<br>> metry::getBoundary(void)const " ( ?getBoundary@OGRGeometry@@UBEPAV1@XZ)<br>> ogr.lib(ogrgeometry.obj) : error LNK2019: unresolved external symbol<br>> _GEOSBuffer<br>> referenced in function "public: virtual class OGRGeometry * __thiscall
<br>> OGRGeome<br>> try::Buffer(double,int)const " ( ?Buffer@OGRGeometry@@UBEPAV1@NH@Z)<br>> ogr.lib(ogrgeometry.obj) : error LNK2019: unresolved external symbol<br>> _GEOSInters<br>> ection referenced in function "public: virtual class OGRGeometry *
<br>> __thiscall OG<br>> RGeometry::Intersection(class OGRGeometry const *)const "<br>> (?Intersection@OGRGeom<br>> etry@@UBEPAV1@PBV1@@Z)<br>> ogr.lib(ogrgeometry.obj ) : error LNK2019: unresolved external symbol
<br>> _GEOSUnion<br>> referenced in function "public: virtual class OGRGeometry * __thiscall<br>> OGRGeomet<br>> ry::Union(class OGRGeometry const *)const "<br>> (?Union@OGRGeometry@@UBEPAV1@PBV1@@Z
<br>> )<br>> ogr.lib(ogrgeometry.obj) : error LNK2019: unresolved external symbol<br>> _GEOSDiffer<br>> ence referenced in function "public: virtual class OGRGeometry * __thiscall<br>> OGRG<br>> eometry::Difference(class OGRGeometry const *)const " (
<br>> ?Difference@OGRGeometry@@<br>> UBEPAV1@PBV1@@Z)<br>> ogr.lib(ogrgeometry.obj) : error LNK2019: unresolved external symbol<br>> _GEOSSymDif<br>> ference referenced in function "public: virtual class OGRGeometry *
<br>> __thiscall O<br>> GRGeometry::SymmetricDifference(class OGRGeometry const *)const "<br>> (?SymmetricDif<br>> ference@OGRGeometry@@UBEPAV1@PBV1@@Z)<br>> ogr.lib(ogrpolygon.obj) : error LNK2019: unresolved external symbol
<br>> _GEOSGetCent<br>> roid referenced in function "public: virtual int __thiscall<br>> OGRPolygon::Centroid<br>> (class OGRPoint *)const " ( ?Centroid@OGRPolygon@@UBEHPAVOGRPoint@@@Z)<br>> gdal13.dll
: fatal error LNK1120: 9 unresolved externals<br>> NMAKE : fatal error U1077: 'link' : return code '0x460'<br>> Stop.<br>><br>> Is there something else that I need to do in addition to the changes<br>> mentioned above to the
nmake.opt file. Please note that I am using the<br>> latest version of the GEOS API. I checked it out from the subversion trunk<br>> and built it. It builds fine without any errors or warnings.<br>><br>> 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>