I'm new to compilation and want to create a sqlcipher binary for use in hybrid Android apps.
I'm stuck here
Building SQLCipher is almost the same as compiling a regular version of SQLite with two minor exceptions:
You must define SQLITE_HAS_CODEC and SQLITE_TEMP_STORE = 2 when creating sqlcipher. You need to link the static binding with the libssrypto OpenSSL example (replace / opt / local / lib with the path to libcrypto.a). Note that in this example, the parameter --enable-tempstore = yes SQLITE_TEMP_STORE = 2 for the assembly.
$. / configure --enable-tempstore = yes CFLAGS = "- DSQLITE_HAS_CODEC" \ LDFLAGS = "/opt/local/lib/libcrypto.a" $ make Example Dynamic Linking
$. / configure --enable-tempstore = yes CFLAGS = "- DSQLITE_HAS_CODEC" \ LDFLAGS = "- lcrypto" $ make
This instruction seems to be intended for compilation on Linux. Can someone tell me how I can do this in windows? Also the second problem is that I have to enable the libssrypto OpenSSL library. I don’t know what it is, why it is necessary, where to download it from and how to enable it at compile time.
Amron source
share