【发布时间】:2023-03-26 19:18:01
【问题描述】:
我的配置是:
- 操作系统:Windows 10 x64
- 提升:1.66.0
- CMake:3.10
- Visual Studio:2017 年
我是这样编译 boost 的:
bootstrap
.\b2 --build-dir=build toolset=msvc address-model=64 --build-type=complete stage
运行 CMake 时出现此错误:
could not find boost libraries:
boost_system
boost_filesystem
boost_thread
boost_locale
boost_date_time
我搜索这些库,它们位于舞台文件夹中。
我尝试了BOOST_USE_STATIC_LIBS=ON,但没有任何反应。
【问题讨论】:
-
CMake finds Boost but the imported targets not available for Boost version 可能重复即使是 CMake 的 Git master 也不支持 Boobst 1.66。