小编Gab*_*Gab的帖子

从 macOS 构建 sqlcipher3 时出现致命错误(未找到“sqlcipher/sqlite3.h”文件)

我一直在尝试使用以下命令在 MacOS 上构建 sqlcipher3:

git clone https://github.com/coleifer/sqlcipher3 && cd sqlcipher3
python3 setup.py build
Run Code Online (Sandbox Code Playgroud)

我收到以下错误:

$ python3 setup.py build
running build
running build_py
creating build
creating build/lib.macosx-10.14-x86_64-3.7
creating build/lib.macosx-10.14-x86_64-3.7/sqlcipher3
copying sqlcipher3/__init__.py -> build/lib.macosx-10.14-x86_64-3.7/sqlcipher3
copying sqlcipher3/dbapi2.py -> build/lib.macosx-10.14-x86_64-3.7/sqlcipher3
running build_ext
Builds a C extension linking against libsqlcipher library
building 'sqlcipher3._sqlite3' extension
creating build/temp.macosx-10.14-x86_64-3.7
creating build/temp.macosx-10.14-x86_64-3.7/src
xcrun -sdk macosx clang -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Qunused-arguments -DMODULE_NAME="sqlcipher3.dbapi2" -I/usr/include -I/Users/gab/Downloads/testbuild/venv/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/include/python3.7m -c src/module.c -o build/temp.macosx-10.14-x86_64-3.7/src/module.o
In file included from src/module.c:24:
src/connection.h:34:10: fatal …
Run Code Online (Sandbox Code Playgroud)

c homebrew build sqlcipher

0
推荐指数
1
解决办法
1261
查看次数

标签 统计

build ×1

c ×1

homebrew ×1

sqlcipher ×1