Build sqlcipher under win10 by msys2

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:

  1. Installed msys2 on my win10
  2. Installed mingw64_gcc, openssl and tcl in msys2
  3. Set the default gcc by run: export PATH="/mingw64/bin:$PATH"
  4. And run ./configure --enable-tempstore=yes CFLAGS="-DSQLITE_HAS_CODEC" LDFLAGS="-lcrypto", there were no error, especially the “install openssl” error.
  5. Run make clean && make, and I have got some errors
    So what happend? Or is there any correct guide?

OK!
Finally, I solved this problem by myself.
Thanks for the helpness of the ‘nobody-repling’ website

Hi @Hemingway2003,

Finally, I solved this problem by myself.
Thanks for the helpness of the ‘nobody-repling’ website

Run make clean && make, and I have got some errors
So what happend?

We are happy to hear you were able to resolve the issue, however, without sharing any details regarding the errors that you experienced, it is difficult for anyone in the community to provide help.