【问题标题】:What is the minimum Boost version to compile Boost.Log (as of revision 667)?编译 Boost.Log 的最低 Boost 版本是多少(截至修订版 667)?
【发布时间】:2012-05-30 05:32:07
【问题描述】:

我已经成功地为 iOS 4.3 构建了一些 Boost C++ 1.44.0 库。我现在需要Boost.Log v2。 Boost.Log 需要构建 Boost C++。但是,Boost.Log 文档没有提到任何最小的 Boost C++ 版本。

我在网上找到了 Boost.Log was sucessfully built with Boost 1.45.0,但如果它是为 Boost.Log v1 或 v2 编译的,则没有提供任何信息。

谁能解释一下用于编译 Boost.Log v2(rev 667)的 Boost C++ 库最低版本?

【问题讨论】:

    标签: boost ios4 boost-log


    【解决方案1】:

    好吧,在问这个问题之前,我应该尝试构建 Boost.Log(在 667 处)。在构建输出中,它被明确写成:

    ./boost/log/detail/prologue.hpp:36:5: error: #error Boost.Log: **Boost version 1.48 or later is required**
    

    因此,Boost.Log v2(修订版 667)至少需要 Boost 1.48.0。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-10-03
      • 2013-04-05
      • 1970-01-01
      • 2012-03-17
      • 1970-01-01
      • 1970-01-01
      • 2017-01-17
      • 2021-04-26
      相关资源
      最近更新 更多