-
Notifications
You must be signed in to change notification settings - Fork 24
Home
Mark Johnson edited this page May 8, 2018
·
93 revisions
Welcome to the libjsqlite-spatialite-android wiki!
Project to create the libjsqlite.so used in geopaparazzi
- 'Configuration used presently [5.0.0] '
-
android-ndk-r16b
was used to compile this project properlyLOCAL_LDLIBS is always ignored for static libraries
- for proper SpatialIndex support, the rtree module must be activated in the sqlite.mk files
-
-DSQLITE_ENABLE_RTREE=1
in the common_sqlite_flags
-
- in the
archive
directory there is a archive with the compiled library’s of the latest version:
wget https://raw.github.com/geopaparazzi/libjsqlite-spatialite-android/master/archive/20180508.libjsqlite.5.0.0.tar.bz2
wget https://raw.github.com/geopaparazzi/libjsqlite-spatialite-android/master/archive/20180508.libjsqlite.R5.0.0.tar.bz2
- this version can be used in the next release of
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[none]
]
recovery_mode[STRICT]
--
- setting compiler specific flags
-
TARGET_ARCH
will have the present compiler that is running-
-mfpu=neon
forlibwebp-0.4.0.mk
- must be used for
armeabi armeabi-v7a
- but not used for
x86
- must be used for
-
-
webp_flags := \
-DHAVE_CONFIG_H=1
ifeq ($(TARGET_ARCH),x86)
LOCAL_CFLAGS := $(webp_flags)
else
ifeq ($(TARGET_ARCH),mips)
LOCAL_CFLAGS := $(webp_flags)
else
LOCAL_CFLAGS := -mfpu=neon $(webp_flags)
endif
endif
* `Themes`:
- Directory structure
- Creating Toolchains from NDK
- 'Configuration used presently [2015-06-07 - spatialite 4.3.0]'
- './configure` commands'
- 'Compiling and expected results'
- 'Adding new project sources'
- 'Known portions of the project that do not work'
- 'when the use of
ndk-build clean
fails'
* `Projects`:
(in preparation)
Older Projects that should no longer be used:
- any
*.mk
filesnot
found above in the project- should be considered, for the moment at least, unusable
2018-05-08: Mark Johnson, Berlin Germany