Boost dlib opencv vs2022 C++ 源码安装集成配置
在进行人脸检测开发时候出现
E1696: 无法打开源文件 "dlib/image_processing/frontal_face_detector.h
解决方案
1, 下载boost
需要:https://www.boost.org/ 或github git clone --recursive https://gitee.com/luozhonghua/boost.git
记住一定要完整版源码
注意:一定要用:打开 vs2022 → 顶部菜单栏选择 “工具” → “命令行” → “开发者命令提示符”或Developer Command Prompt 进去cmd
# 进入 Boost 源码目录
cd D:\boost_1_88_0
# 生成 b2.exe
bootstrap.bat
# 编译 64 位库(耗时较长)
b2.exe install --prefix="E:\Boost\x64" --