【发布时间】:2019-08-20 15:16:20
【问题描述】:
使用 brew 安装 boost 后:
brew install boost
brew link --overwrite boost
我发现没有安装库 boost_signals。
当我使用 CMake 构建另一个依赖于 boost_signals 库的项目时,我收到以下错误消息:
Unable to find the requested Boost libraries.
Boost version: 1.69.0
Boost include path: /usr/local/include
Could not find the following Boost libraries:
boost_signals
Some (but not all) of the required Boost libraries were found. You may
need to install these additional Boost libraries. Alternatively, set
BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT
to the location of Boost.
我检查了我的 /usr/local/lib,我看到了许多 boost 库,但找不到 lib boost_signals.dylib。
我不确定如何安装上述错误建议的其他 Boost 库。
我的机器运行的是 macOS High Sierra 10.13.6
任何指针?
非常感谢您的宝贵时间!
【问题讨论】: