0

So I was following the gnuradio tutorial on building an OOT. However i got into trouble with boost so i followed a solution that made me install boost and export by the command:

export LD_LIBRARY_PATH=$BOOST_PREFIX/lib

I did that and got into another error after running cmake (below)

$cmake ../
-- Build type not specified: defaulting to release.
-- Boost version: 1.53.0
-- Found the following Boost libraries:
--   filesystem
--   system
-- checking for module 'gruel'
--   package 'gruel' not found
-- Could NOT find GRUEL (missing:  GRUEL_LIBRARIES GRUEL_INCLUDE_DIRS) 
-- checking for module 'gnuradio-core'
--   package 'gnuradio-core' not found
-- Could NOT find GNURADIO_CORE (missing:  GNURADIO_CORE_LIBRARIES GNURADIO_CORE_INCLUDE_DIRS) 
-- checking for module 'cppunit'
--   package 'cppunit' not found
-- Could NOT find CPPUNIT (missing:  CPPUNIT_INCLUDE_DIRS) 
CMake Error at CMakeLists.txt:91 (message):
  Gruel required to compile newblock


-- Configuring incomplete, errors occurred!

please can any one help me solve this problem and add blocks to gnu radio

4

1 回答 1

3

您缺少 cppunit 开发标头;请安装它们。

有关 Gruel 的错误表明您正在尝试使用为旧版本的 GNU Radio 制作的 OOT 模板。Gruel 是旧版本 GNU Radio 的一部分,并已合并到 GNU Radio 的其他部分,不再可用。

生成模块的正确方法是使用gr_modtoolGNU Radio 附带的,它只会自动生成有效的 OOT。这在官方指导教程中有很好的记录,gr_modtool nm my_module_name请参阅教程 3。

最好的问候,马库斯

于 2015-01-08T17:38:54.687 回答