?在進行人臉檢測開發時候出現
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" --