Opened 16 years ago
Closed 9 years ago
#2306 closed defect (wontfix)
Errors compiling gdal 1.5.1 on WinCE
Reported by: | mferrero | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | WinCE Port | Version: | 1.5.0 |
Severity: | normal | Keywords: | WinCE |
Cc: |
Description
Hi, I have the following unresolved external errors compiling gdal 1.5.1 for WinCE: ogrgeometry.obj : error LNK2019: unresolved external symbol OGR_G_ExportToKML referenced in function "public: virtual char * cdecl OGRGeometry::exportToKML(void)const " ogrgeometry.obj : error LNK2019: unresolved external symbol OGR_G_ExportToJson referenced in function "public: virtual char * cdecl OGRGeometry::exportToJson(void)const " dbfopen.obj : error LNK2019: unresolved external symbol SASetupDefaultHooks referenced in function DBFOpen shpopen.obj : error LNK2001: unresolved external symbol SASetupDefaultHooks shpopen.obj : error LNK2019: unresolved external symbol snprintf referenced in function SHPReadObject I solved the problems doing the following: a) change ogrgeometry.c and comment out the calls to OGR_G_ExportToKML and OGR_G_ExportToJson b) "Add Existing" to add shp_vsi.c to the Visual Studio project in org->ogr_frmts->shape. This resolves SASetupDefaultHooks c) add #include "cpl_port.h" to shapelib.h to resolve snprintf I don't know if this is the right approach, but now the library is correctly created Marcello Ferrero
Change History (2)
comment:1 by , 14 years ago
Keywords: | WinCE added |
---|---|
Owner: | changed from | to
comment:2 by , 9 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Unrealistic to believe that bugs in Windows CE port would be fixed.
The WinCE port is currently orphaned as there is no one working on it.