I am new to compiling and want to create a binary file of sqlcipher for use in hybrid android apps.
I am stuck here
Building SQLCipher is almost the same as compiling a regular version of SQLite with two small exceptions:
You must define SQLITE_HAS_CODEC and SQLITE_TEMP_STORE=2 when building sqlcipher. You need to link against a OpenSSL's libcrypto Example Static linking (replace /opt/local/lib with the path to libcrypto.a). Note in this example, --enable-tempstore=yes is setting SQLITE_TEMP_STORE=2 for the build.
$ ./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 for compiling on Linux. Can anyone tell me how can I do it in windows? Also 2nd difficulty is I have to include OpenSSL's libcrypto library. I don't know what it is, why is it required, from where to download it and how to include it while compiling.