-
Notifications
You must be signed in to change notification settings - Fork 24
Android_R4.5.0.mk
Mark Johnson edited this page May 8, 2018
·
19 revisions
<-- 'List of Project Android_4.5.0'
<-- 'List of Project Android_R4.5.0'
Android_R4.4.0.mk - for Spatialite 4.5.0, with Rasterlite2
-
this is based [2018-03-09] on the development spatialite 5.0.0 code and
- the rasterlite2 development code as of
2018-03-09
- the rasterlite2 development code as of
-
in the
archive
directory there is a archive with the compile library’s:-
20180508.libjsqlite.R5.0.0.tar.bz2 - 20.5 MB with RasterLite2 support
(not yet uploaded)
-
wget https://raw.github.com/geopaparazzi/libjsqlite-spatialite-android/master/archive/20180508.libjsqlite.R5.0.0.tar.bz2
- to create this project:
- replace
Android.mk
withAndroid_R5.0.0.mk
- run
ndk-build clean
ndk-build
- replace
The projects are listed in the order of compilation
-
indentation implies dependency
-
-
jsqlite-R20120209.mk
sqlite-3220000.mk
-
rasterlite2-4.4.0.cutline.mk - Rasterlite2 - with Spatialite 4.4.0-dev
charls-1.0.mk
openjpeg-2.0.0.mk
libwebp-0.4.0.mk
spatialite-4.5.0.mk
cairo-1.14.12.mk
libcurl-7.59.0.mk
-
libgeotiff-1.4.2.mk
- which is depends on
giflib-5.1.4.mk
geos-3.6.2.mk
json-c-0.13.1.mk
librttopo-1.1.0.mk
-
libxml2-2.9.8.mk
pixman-0.34.0.mk
-
fontconfig-2.11.1.mk
libtiff-4.0.9.mk
proj4-4.9.3.mk
-
iconv-1.15.mk
- For Spatialite with VirtualShapes,VirtualXL support
-
iconv
is needed
-
- For Spatialite with VirtualShapes,VirtualXL support
freetype-2.9.mk
expat-2.2.5.mk
lzma-xz-5.2.1.mk
libjpeg-6b.mk
libpng-1.6.34.mk
-
-
first results:
- normal spatialite functionality
- unexpected rasterlite2 version number [returns the png-version]
- '--> first image retrieved in geopaparazzi'
- '--> first image shown in geopaparazzi'
GEOPAPARAZZI: DaoSpatialite.JavaSqliteDescription
[
sqlite[3.8.10.2],
spatialite[4.4.0-RC1],
proj4[Rel. 4.9.3, 15 August 2016],
geos[3.6.1-CAPI-1.10.1 r0],
rttopo[1.1.0-dev],
spatialite_properties
[
HasIconv[1],HasMathSql[1],HasGeoCallbacks[0],HasProj[1],
HasGeos[1],HasGeosAdvanced[1],HasGeosTrunk[0],HasRtTopo[1],
HasGCP[1],HasTopology[1],HasLibXML2[1],
HasEpsg[1],HasFreeXL[0],HasGeoPackage[1],
target_cpu[armeabi-v7a]
],
rasterlite2_properties[1.6.10]
]
recovery_mode[STRICT]
-
rasterlite2_properties
- should show
1.0.0-devel
- but is showing the first static lib being linked (libpng)
- should show
Note:
- with
ndk-build V=1
- you can see where flags for compiling are being used
- the
-g
comes first (from the originalMakefile
of the project) -
-O
comes later, overriding-g
- the
- you can see where flags for compiling are being used
- add the following in the projects that need
cpufeatures
- in this case
libwebp-0.4.0.mk
-
LOCAL_STATIC_LIBRARIES := cpufeatures
- after the source files
a add as last entry in
Android_R5.0.0.mk
- after the source files
a add as last entry in
- in this case
$(call import-module,android/cpufeatures)
2018-05-08: Mark Johnson, Berlin Germany