<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif">Sure.</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif">Consider that in addition to the two problems you already fixed in 1375, there is a new fix for 1.5.1 to apply due to the use of snprintf in shpopen.c that I fixed adding #include "cpl_port.h" to shapelib.h.</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif"><BR>Regards,</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif">Marcello<BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Original Message ----<BR>From: Tamas Szekeres <szekerest@gmail.com><BR>To: marcello ferrero <marcello_ferrero@yahoo.com><BR>Cc: gdal-dev@lists.osgeo.org<BR>Sent: Monday, March 31, 2008 11:05:15 PM<BR>Subject: Re: [gdal-dev] Compiling GDAL 1.5.1 for WinCE<BR><BR>Marcello,<BR><BR>For the SVN trunk I've already applied a fix just like this:<BR><A href="http://trac.osgeo.org/gdal/changeset/13775" target=_blank>http://trac.osgeo.org/gdal/changeset/13775</A><BR><BR>I guess it should be back ported to the 1.5 branch. Would you submit a<BR>ticket for this?<BR><BR>Best regards,<BR><BR>Tamas<BR><BR><BR>2008/3/31, marcello ferrero <<A href="mailto:marcello_ferrero@yahoo.com" ymailto="mailto:marcello_ferrero@yahoo.com">marcello_ferrero@yahoo.com</A>>:<BR>><BR>><BR>><BR>><BR>> Hi,<BR>> I have the following unresolved external errors compiling
gdal 1.5.1 for<BR>> WinCE:<BR>><BR>> ogrgeometry.obj : error LNK2019: unresolved external symbol<BR>> OGR_G_ExportToKML referenced in function "public: virtual char * __cdecl<BR>> OGRGeometry::exportToKML(void)const "<BR>> ogrgeometry.obj : error LNK2019: unresolved external symbol<BR>> OGR_G_ExportToJson referenced in function "public: virtual char * __cdecl<BR>> OGRGeometry::exportToJson(void)const "<BR>> dbfopen.obj : error LNK2019: unresolved external symbol SASetupDefaultHooks<BR>> referenced in function DBFOpen<BR>> shpopen.obj : error LNK2001: unresolved external symbol SASetupDefaultHooks<BR>> shpopen.obj : error LNK2019: unresolved external symbol snprintf referenced<BR>> in function SHPReadObject<BR>><BR>><BR>> I solved the problems doing the following:<BR>> a) change ogrgeometry.c and comment out the calls to OGR_G_ExportToKML and<BR>> OGR_G_ExportToJson<BR>> b) "Add Existing" to
add shp_vsi.c to the Visual Studio project in<BR>> org->ogr_frmts->shape. This resolves SASetupDefaultHooks<BR>> c) add #include "cpl_port.h" to shapelib.h to resolve snprintf<BR>><BR>> I don't know if this is the right approach, but now the library is correctly<BR>> created<BR>><BR>> Marcello Ferrero<BR>><BR>> ________________________________<BR>> Like movies? Here's a limited-time offer: Blockbuster Total Access for one<BR>> month at no cost.<BR>> _______________________________________________<BR>> gdal-dev mailing list<BR>> <A href="mailto:gdal-dev@lists.osgeo.org" ymailto="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</A><BR>> <A href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target=_blank>http://lists.osgeo.org/mailman/listinfo/gdal-dev</A><BR>><BR></DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif"><BR></DIV></div><br>
<hr size=1>Like movies? Here's a limited-time offer: <a href="http://us.rd.yahoo.com/evt=47522/*http://tc.deals.yahoo.com/tc/blockbuster/text4.com
">Blockbuster Total Access</a> for one month at no cost.</body></html>