开发者

upgrading boost version

开发者 https://www.devze.com 2022-12-30 18:59 出处:网络
I\'m using RHEL 5.3, shipped with gcc 4.1.2 and boost 1.33. So, there\'s no boost::unorded_map, no make_shared() factory function to create boost::shared_ptr and other features available in newer rele

I'm using RHEL 5.3, shipped with gcc 4.1.2 and boost 1.33. So, there's no boost::unorded_map, no make_shared() factory function to create boost::shared_ptr and other features available in newer releases of boost.

开发者_开发技巧

Is there're a newer version of boost compatible with the version of gcc? If yes, how the upgrade is performed?


Download the latest version (1.43.0) of the Boost libraries from the Boost website and follow the steps in the getting started guide, which explains how to build Boost on a number of platforms, including Linux.


Simply download and install the newest version; it will adapt itself automatically to your compiler.


Sure, just download the latest source from link text. If you are only using header only libraries, it just needs to be unpacked. If you are using one of a handful that require a library, you will need to build those.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号