求一个cocos2dx 可用的64位的libsqlcipher.so动态库

求一个cocos2dx 可用的64位的libsqlcipher.so动态库,或者可用的编译方法,感谢~~~~~

please ask chat-gpt

Building SQLCipher is similar to compiling a regular version of SQLite from source, with a couple of small exceptions:

  1. You must define SQLITE_HAS_CODEC and either SQLITE_TEMP_STORE=2 or SQLITE_TEMP_STORE=3
  2. You will need to link against a support cryptographic provider (OpenSSL, LibTomCrypt, CommonCrypto/Security.framework, or NSS)

The following examples demonstrate linking against OpenSSL, which is a readily available provider on most Unix-like systems.

Example 1. 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 2. Dynamic linking

$ ./configure --enable-tempstore=yes CFLAGS="-DSQLITE_HAS_CODEC" \
	LDFLAGS="-lcrypto"
$ make

你肯定是被AndroidNDK 坑住了,我最近编译FFMpeg源码,可把我修炼成仙了

这个编译过了,但是用不了
./configure --prefix=/Users/zyy/Desktop/buildsql --disable-tcl --host=aarch64-linux-android --target=aarch64-linux-android LDFLAGS="-L/usr/local/opt/openssl/lib -lcrypto" CPPFLAGS="-I/usr/local/opt/openssl/include"

问了 各种试过了,就是编不出来

有什么报错,你这样错误都不贴,很难帮到你哦

没有报错,make都是成功的,但是么有生成so文件

问过chatGPT,试过gpt提供的方法,都无法编译出对应的so

你对ndk版本,arch有要求么,我尝试着给你编译个

我超,老许,能不能把你的ffmpeg研究经验发一下。ffmpeg一直都很火啊,我也想学,想白嫖

我超,老许,能不能把你的ffmpeg研究经验发一下。ffmpeg一直都很火啊,我也想学,想白嫖