安装 gnuradio

          需要安装最新版本的 boost ....centos的包太老了。。。。  先 yum remove boost-** 先。。。。

然后按照文档中的步骤安装就行了。。。

    在 boost 库那里折腾了很久 才发现 原来是因为按照的版本太老了。。。

Most distributions have the required version of Boost (1.35) ready for
installation using their standard package installation tools (apt-get,
yum, etc.).

If running a distribution that requires boost 1.35 (or later) be built
from scratch, these instructions explain how to do so, and in a way
that allows it to peacefully coexist with earlier versions of boost.

Download the latest version of boost from boost.sourceforge.net.
(boost_1_49_0.tar.bz2 was the latest when this was written). Different
Boost versions often have different installations. If these
instructions don't work, check the website www.boost.org for more
help.

unpack it somewhere
cd into the resulting directory

$ cd boost_1_49_0

# Pick a prefix to install it into.  I used /opt/boost_1_49_0

$ BOOST_PREFIX=/opt/boost_1_49_0

$ ./bootstrap.sh
$ sudo ./b2 --prefix=$BOOST_PREFIX --with-thread --with-date_time --with-program_options --with-filesystem --with-system --layout=versioned threading=multi variant=release install

# Done!  That was easy!

Note that you don't have to specify each library, which will then
build all Boost libraries and projects. By specifying only those
required will just save compilation time.


----------------------------------------------------------------------


Installing GNU Radio with new Boost libraries.

Tell cmake to look for the Boost libraries and header files in the new location with the folloing command:

$ cd <build directory>
$ cmake -DBOOST_ROOT=$BOOST_PREFIX -DBoost_INCLUDE_DIR=$BOOST_PREFIX/include/boost-1_49/ -DBoost_LIBRARY_DIRS=$BOOST_PREFIX/lib  <path to gnuradio source tree>
$ make
$ make test
$ sudo make install

See README for more installation details.

转载于:https://my.oschina.net/sincoder/blog/133323

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值