【问题标题】:Install A Specific Version of Boost With Homebrew on Mac在 Mac 上使用 Homebrew 安装特定版本的 Boost
【发布时间】:2018-02-09 09:52:24
【问题描述】:

我正在尝试使用 Homebrew 在我的 Mac 上安装旧版本的 Boost。

我正在使用:

brew install boost@1.53

接收错误:

Error: No available formula with the name "boost@1.53" 

我已经表演了:

brew search boost

我可以看到我已经安装了回到 1.55 的所有版本。

有没有办法解决这个问题,我该如何安装 1.53?

【问题讨论】:

    标签: c++ boost homebrew


    【解决方案1】:

    Git 克隆 boost 代码,签出你想要的版本并编译。

    【讨论】:

    • 你好苏尼尔。有没有办法从命令行执行此操作?
    • @Sunil 是对的。您只能通过手动安装进行安装。 Homebew 不支持 1.55 之前的版本。
    猜你喜欢
    • 2017-07-08
    • 2011-04-28
    • 1970-01-01
    • 2017-11-21
    • 2023-01-10
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多