如何为Windows 10 64/32位编译sqlcipher

时间:2019-09-06 07:33:05

标签: sqlite windows-10 32bit-64bit sqlcipher pysqlcipher

我已经安装了VS 2017,并且正在尝试为Windows 10 x64构建sqlcipher命令(如Ubuntu 18)。

但出现以下错误:

.. \ Makefile.msc(2547):致命错误U1052:未找到文件'.. \ sqlite \ ext \ lsm1 \ Makefile.msc'

我试图这样做

mkdir bld
cd bld
nmake /f Makefile.msc sqlite3.exe TOP=..\sqlite

但是首先我得到以下错误,这很明显。很有可能是因为在bld文件夹中没有Makefile.msc。

** Microsoft(R)程序维护实用程序版本14.16.27032.1 版权所有(C)Microsoft Corporation。保留所有权利。

NMAKE:致命错误U1052:找不到文件'Makefile.msc' 停止。 **

所以我试图通过在Makefile.msc之前添加“ ..”来解决此问题

** nmake / f .. \ Makefile.msc sqlite3.exe TOP = .. \ sqlite ^ **

但是然后我得到以下错误,我认为这很明显,因为我在source文件夹中没有sqlite源文件夹,但是我不知道从哪里获取sqlite的源以及如何解决这个问题。 / p>

** Microsoft(R)程序维护实用程序版本14.16.27032.1 版权所有(C)Microsoft Corporation。保留所有权利。

.. \ Makefile.msc(2547):致命错误U1052:找不到文件'.. \ sqlite \ ext \ lsm1 \ Makefile.msc' 停止。**

说实话,我找不到有关如何使用MSVC构建sqlcipher的分步说明。我发现的唯一一个是这个(https://github.com/sqlitebrowser/sqlitebrowser/wiki/Win64-setup-%E2%80%94-Compiling-SQLCipher),它已经很老了。

如果sb可以有所启发,我将不胜感激。

谢谢

SQLCipher版本:4.2.0

0 个答案:

没有答案