相关疑难解决方法(0)

如何添加编译器包括新安装的Boost的路径和链接库路径?

我有RHEL 5.2,安装了Boost 1.33.我下载了boost_1_44_0.tar.bz2.并建立它.完成后显示:

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
Run Code Online (Sandbox Code Playgroud)
  1. 如何添加上述包含路径?
  2. 当我执行"rpm -q boost"时,它显示boost-1.33.1-10.el5.当我安装1.44版本时,为什么会这样呢?
  3. 有没有更好的方法来安装最新版本的Boost?

c++ linux boost build rpm

17
推荐指数
4
解决办法
5万
查看次数

标签 统计

boost ×1

build ×1

c++ ×1

linux ×1

rpm ×1