nakijun / spatialite-android

Automatically exported from code.google.com/p/spatialite-android
0 stars 0 forks source link

Upgrade to geos 3.3.4 #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I've just compiled the project successfully with geos 3.3.4 and ndk-r8 on a mac

I removed the line spaces in AndroidManifest.xml (encodingproblem?; invalid 
package) and made the following changes:

Android.mk: GEOS_PATH := geos-3.3.4

geos.mk: LOCAL_C_INCLUDES := $(GEOS_PATH)/include
updated LOCAL_SRC_FILES with the provided find statement

spatialite.mk:
LOCAL_C_INCLUDES := \
        $(GEOS_PATH)/src \
        $(GEOS_PATH)/include \
        $(GEOS_PATH)/include/geos/geom/prep \ <-- this is probably not necessary?

geos/include/geos/platform.h:
/* Has isnan */
#define HAVE_ISNAN 1
/* #undef HAVE_ISNAN */

Original issue reported on code.google.com by roman.pi...@gmail.com on 28 Jul 2012 at 8:14

GoogleCodeExporter commented 9 years ago

Original comment by efroh...@gmail.com on 28 Jul 2012 at 8:59

GoogleCodeExporter commented 9 years ago
Updated to geos 3.3.4 and NDK r8b.

Original comment by efroh...@gmail.com on 29 Jul 2012 at 1:34