Compile SQLite with SQLCipher on Windows

I am following this tutorial on compiling SQLite with SQLCipher on Windows. I am confused by the preliminary details for compilation. I found that I need to install the following command to compile it:

  • Openssl
  • Mingw
  • ActiveState Perl
  • Tcltk / tclsh
  • Msys
  • Visual studio
  • Cygwin

Among all of the above, I just installed Visual Studio 2008. I am working on Windows 7.

What are the exact prerequisites for compiling SQLite with SQLCipher on Windows?

+3
source share
2 answers

The minimum configuration required to compile SQLCipher on Windows:

  • OpenSSL, either in the source or in binary
  • Perl - , OpenSSL
  • MinGW/MSYS - SQLCipher
  • Tcl - SQLite
  • Visual Studio -

, DLL , .

, SQLCipher http://sqlcipher.net/downloads. , , .

+4

, SQLCipher SQLite + , , , "". , , SQLite, , unixy.

SQLCipher SQLite, (, -, SQLite 3.7.2 SQLCipher 1.8.2, VERSION) - , , , SQLite, , SQLCipher.

OpenSSL , , Perl (iirc OpenSSL Visual ++, MingW ).

SQLCipher SQLite ( , win32), amalgation SQLite OpenSSL, Visual Studio.

, , , SQLCipher, , , , cygwin , .

SQLCipher * u * x ( linux, * BSD Mac OS X), .

UPDATE:

( 3.7.2) [http://www.sqlite.org/src/info/42537b6056] SQLite SQLCipher 1.1.8, :

Makefile.in - references added for the new crypto files.
tool/mksqlite3c.tcl: references added for the new crypto files.
src/pragma.c - one added block, marked /** BEGIN_CRYPTO **/
src/pager.c - one added block, marked /** BEGIN_CRYPTO **/
src/crypto.h - new file.
src/crypto.c - new file.

, , OpenSSL, AES - - SQLCipher ( ) AES .

+3

Source: https://habr.com/ru/post/1778470/


All Articles