gpt4 book ai didi

c++ - 升级 boost 版

转载 作者:太空狗 更新时间:2023-10-29 19:50:21 26 4
gpt4 key购买 nike

我使用的是 RHEL 5.3,附带 gcc 4.1.2 和 boost 1.33。因此,没有 boost::unorded_map,也没有 make_shared() 工厂函数来创建 boost::shared_ptr 以及较新版本的 boost 中可用的其他功能。

是否有与 gcc 版本兼容的更新版本的 boost?如果是,升级是如何进行的?

最佳答案

the Boost website 下载最新版本 (1.43.0) 的 Boost 库并按照 the getting started guide 中的步骤操作,其中解释了如何在包括 Linux 在内的许多平台上构建 Boost。

关于c++ - 升级 boost 版,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2829523/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com