boost_signals 使用 brew 安装 boost 时缺少库
boost_signals library missing when installing boost with brew
用 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
有什么指点吗?
非常感谢您的宝贵时间!
今天早上我遇到了同样的问题。来自 boost 1.69 发行说明:
停产图书馆
信号 (v1) 现在已被删除。它的移除是在 1.68 中宣布的,它的弃用是在 1.54 中宣布的。 Boost 1.68 是提供该库的最后一个版本。鼓励用户改用 Signals2。 Boost 社区感谢道格拉斯·格雷戈尔 (Douglas Gregor) 在 Signals 方面的工作,他为用户提供了很好的服务,同时也启发了 Signals2。
[https://www.boost.org/users/history/version_1_69_0.html][1]
用 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
有什么指点吗?
非常感谢您的宝贵时间!
今天早上我遇到了同样的问题。来自 boost 1.69 发行说明:
停产图书馆 信号 (v1) 现在已被删除。它的移除是在 1.68 中宣布的,它的弃用是在 1.54 中宣布的。 Boost 1.68 是提供该库的最后一个版本。鼓励用户改用 Signals2。 Boost 社区感谢道格拉斯·格雷戈尔 (Douglas Gregor) 在 Signals 方面的工作,他为用户提供了很好的服务,同时也启发了 Signals2。
[https://www.boost.org/users/history/version_1_69_0.html][1]