Description
When I try to build this using ndk I get the following error, any ideas?
$ ndk-build
Compile++ thumb : database_sqlcipher <= CursorWindow.cpp
In file included from D:/cygwin/home/userX/sqlcipher/jni/CursorWindow.cpp:20:
D:/cygwin/home/userX/sqlcipher/jni/include/utils/Log.h:31:24: error: cutils/log.h: No such file or directory
D:/cygwin/home/userX/sqlcipher/jni/CursorWindow.cpp:21:35: error: binder/MemoryHeapBase.h: No such file or directory
D:/cygwin/home/userX/sqlcipher/jni/CursorWindow.cpp:22:31: error: binder/MemoryBase.h: No such file or directory
D:/cygwin/home/userX/sqlcipher/jni/CursorWindow.cpp:29:21: error: JNIHelp.h: No such file or directory
In file included from D:/cygwin/home/userX/sqlcipher/jni/CursorWindow.cpp:31:
D:/cygwin/home/userX/sqlcipher/jni/CursorWindow.h:29:28: error: binder/IMemory.h: No such file or directory
D:/cygwin/home/userX/sqlcipher/jni/CursorWindow.h:30:27: error: utils/RefBase.h: No such file or directory
In file included from D:/cygwin/home/userX/sqlcipher/jni/CursorWindow.cpp:31:
D:/cygwin/home/userX/sqlcipher/jni/CursorWindow.h:110: error: expected unqualified-id before '<' token
D:/cygwin/home/userX/sqlcipher/jni/CursorWindow.h:110: error: expected ')' before '<' token
D:/cygwin/home/userX/sqlcipher/jni/CursorWindow.h:110: error: expected ';' before '<' token
D:/cygwin/home/userX/sqlcipher/jni/CursorWindow.h:114: error: ISO C++ forbids declaration of 'sp' with no type
D:/cygwin/home/userX/sqlcipher/jni/CursorWindow.h:114: error: invalid use of '::'
D:/cygwin/home/userX/sqlcipher/jni/CursorWindow.h:114: error: expected ';' before '<' token
D:/cygwin/home/userX/sqlcipher/jni/CursorWindow.h:116: error: expected ';' before 'size_t'
D:/cygwin/home/userX/sqlcipher/jni/CursorWindow.h:198: error: ISO C++ forbids declaration of 'sp' with no type
D:/cygwin/home/userX/sqlcipher/jni/CursorWindow.h:198: error: invalid use of '::'
D:/cygwin/home/userX/sqlcipher/jni/CursorWindow.h:198: error: expected ';' before '<' token
D:/cygwin/home/userX/sqlcipher/jni/CursorWindow.h: In member function 'bool android::CursorWindow::setNumColumns(uint32_t)':
D:/cygwin/home/userX/sqlcipher/jni/CursorWindow.h:129: error: 'LOGE' was not declared in this scope
D:/cygwin/home/userX/sqlcipher/jni/CursorWindow.cpp: At global scope:
D:/cygwin/home/userX/sqlcipher/jni/CursorWindow.cpp:41: error: expected unqualified-id before '<' token
D:/cygwin/home/userX/sqlcipher/jni/CursorWindow.cpp:41: error: expected ')' before '<' token
D:/cygwin/home/userX/sqlcipher/jni/CursorWindow.cpp:41: error: expected initializer before '<' token
D:/cygwin/home/userX/sqlcipher/jni/CursorWindow.cpp:413: error: expected '}' at end of input
make: *** [/home/userX/sqlcipher/obj/local/armeabi/objs/database_sqlcipher/CursorWindow.o] Error 1