-
Notifications
You must be signed in to change notification settings - Fork 568
Building android-database-sqlcipher #18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The current build process requires you to check out specific repos from the Android OS and setup the paths properly. We do not have this well documented. We have a major update to the build process that has been worked on with Zetetic, and we will be merging that here shortly. |
You are more than welcome to work off of this branch: |
We have a new Makefile and BUILD instructions in the root directory that should make this process easier: https://github.com/guardianproject/android-database-sqlcipher |
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
The text was updated successfully, but these errors were encountered: