【发布时间】:2017-11-19 10:13:48
【问题描述】:
在尝试为 Python 安装 Dlib 库时,请使用本教程 http://dlib.net/compile.html。
本教程说要这样做 -
cd examples
mkdir build
cd build
cmake ..
cmake --build . --config Release
我已经创建了一个构建,当我发出命令 cmake ..
它显示了这个错误 -
CMake Error: The source directory "C:/Python27/dlib-19.4.0/python_examples"
does not appear to contain CMakeLists.txt.
【问题讨论】:
-
您正在尝试编译不需要编译的python示例。只能编译 C++ 示例。直接使用 *.py 文件即可
标签: python python-2.7 cmake face-detection dlib