I cloned the source from GitHub - sqlcipher/sqlcipher: SQLCipher is a standalone fork of SQLite that adds 256 bit AES encryption of database files and other security features..
And I can build it very easily under my debian, but when I turned to msys2, it seems hard to work.
There steps I have done:
- Installed msys2 on my win10
- Installed mingw64_gcc, openssl and tcl in msys2
- Set the default gcc by run: export PATH="/mingw64/bin:$PATH"
- And run
./configure --enable-tempstore=yes CFLAGS="-DSQLITE_HAS_CODEC" LDFLAGS="-lcrypto"
, there were no error, especially the “install openssl” error. - Run
make clean && make
, and I have got some errors
So what happend? Or is there any correct guide?