<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hello,</div><div><br></div>I compiled GDAL 0.10 release for Android, with basic driver package. I left cURL and other more complex dependencies for later. It works with partial success:<div><br></div><div>a) Snags during compiling:</div><div> 1. had to disable gif driver, as there was "undefined reference to `GIFAbstractDataset::GetMetadataItem". I don't see any real use of that anyway.</div><div> 2. from tif_open.c I removed lines 99 and 100 (asserts for 64bit types), as they appear not to work on 32bit ARMv7 (they assert false). Would it be safe enough? Interesting is that I did not have this problem with GDAL 0.9</div><div> 3. Some other tweaks and changes as described in [1] to get also Swig Java bindings working</div><div><br></div><div>b) Runtime problems. Main problem is that some OGR drivers do not open some of test files, even if ogr.GetDriver() reports them. See [2] for reported the list. There is no any error message, and debugging this via Android NDK would be a bit too much for me.</div><div> 1. Working files: shapefile, esripolygon.json, dxf, csv</div><div> 2. Not working: KML, GML and GeoJSON. By not working I mean Open (<file>,false) returns null.</div><div><br></div><div>So my questions:</div><div>1. Is there a way to troubleshoot runtime problems ? org.gdal.gdal.gdal.GetLastErrorMsg() seems to report nothing after Open error. Maybe some dependency missing from compilation?</div><div>2. Any hint how to fix tif_open.c problem properly?</div><div><br></div><div>Thank you,</div><div><br></div><div>[1] <a href="https://github.com/nutiteq/gdal/wiki/AndroidHowto">https://github.com/nutiteq/gdal/wiki/AndroidHowto</a></div><div>[2] <a href="https://github.com/nutiteq/hellomap3d/wiki/Ogr-layer">https://github.com/nutiteq/hellomap3d/wiki/Ogr-layer</a> </div><div><br></div><div><br></div><div>Jaak</div></body></html>