我有RHEL 5.2,安装了Boost 1.33。 我下载了boost_1_44_0.tar.bz2。并建立它。在完成这表明:如何为新安装的Boost添加编译器包含路径和链接器库路径?
The Boost C++ Libraries were successfully built!
The following directory should be added to compiler include paths:
/home/dfe/Archive/boost_1_44_0
The following directory should be added to linker library paths:
/home/dfe/Archive/boost_1_44_0/stage/lib
- 如何添加提到包括路径上面?
- 当我做“rpm -q boost”时,它会显示boost-1.33.1-10.el5。为什么这样,当我安装版本1.44?
- 有没有更好的方法来安装最新版本的Boost?
这里的关键是安装./bjam,因为这些说明使得它看起来像./b2是用来安装的命令。 – 2014-03-16 14:37:05
关于使用'./b2'和'./bjam':http://www.boost.org/build/doc/html/bbv2/faq/names.html – digawp 2015-11-16 08:34:47