Re: [gdal-dev] Building with support for VirtualOGR

2017-11-28 Thread René Hansen
For future reference, this was the winning combination to get through a make/install, with the Android NDK for me: ./configure --host=arm-linux-androideabi --prefix=`pwd`/install/external/gdal \ --with-sqlite3=/path/to/sqlite/xcompilation \ --with-jpeg=internal \ --without-jpeg12 Now I've g

Re: [gdal-dev] Building with support for VirtualOGR

2017-11-28 Thread René Hansen
Jackpot. That was it! It's amazing what kind of blindspots you can develop, setting up cross compilations. Now I'm wrestling with build errors related to jpeg and jpeg12, apparently just disabling them with --with-jpeg=no and --without-jpeg12, breaks all kinds of other stuff. Alas, that is a dif

Re: [gdal-dev] Building with support for VirtualOGR

2017-11-28 Thread Even Rouault
René, > As the subject reveals, I'm trying to compile with SQLite support, so I can > load libgdal.so as an extension, as per the example on > http://gdal.org/drv_sqlite.html. > > I'm building with the Android NDK and it succeeds, seemingly fine, but when > I load the library as an extension: [..

[gdal-dev] Building with support for VirtualOGR

2017-11-28 Thread René Hansen
Hi all, As the subject reveals, I'm trying to compile with SQLite support, so I can load libgdal.so as an extension, as per the example on http://gdal.org/drv_sqlite.html. I'm building with the Android NDK and it succeeds, seemingly fine, but when I load the library as an extension: sqlite3_exe