Re: [sqlite] compiling for android

2017-09-11 Thread Christian Czech
Hi, it guess it must be some special settings. We used sqlite quite some time now and the last build problem we got with ndk is quite long time ago. Regards, Christian --- derago e. K., Gartenstr. 4, D-79807 Lottstetten, Amtsgericht Freiburg/Br. HRA621012, weitere

Re: [sqlite] compiling for android

2017-09-11 Thread Dan Kennedy
On 09/11/2017 05:20 AM, Mark Sibly wrote: Hi, I just encountered a problem trying to build the sqlite amalgamation package for android with the latest NDK (v15.2.4203891) on windows 10. The compiler couldn't find mmap, which was causing a ton of errors. I solved it by sticking this at the

[sqlite] compiling for android

2017-09-11 Thread Mark Sibly
Hi, I just encountered a problem trying to build the sqlite amalgamation package for android with the latest NDK (v15.2.4203891) on windows 10. The compiler couldn't find mmap, which was causing a ton of errors. I solved it by sticking this at the top-ish of sqlite3.c #if __ANDROID__ #include