cmake for GNU Radio 教程

Mid*_*per 2 cppunit gnuradio cmake

我试图按照在 gnuradio 网站上构建信号处理块的教程进行操作:http : //gnuradio.org/redmine/projects/gnuradio/wiki/OutOfTreeModules

但是,当涉及到需要我使用 CMake 的步骤时,终端抱怨说

package cppunit is not found  checking for module 'cppunit'
--   package 'cppunit' not found
-- Could NOT find CPPUNIT (missing:  CPPUNIT_INCLUDE_DIRS) 
CMake Error at CMakeLists.txt:101 (message):
  CppUnit required to compile howto
Run Code Online (Sandbox Code Playgroud)

我尝试过诸如sudo apt-get cppunit.

Mic*_*zos 5

您需要libcppunit-dev,它是用于 C++ 单元测试的库:

sudo apt install libcppunit-dev
Run Code Online (Sandbox Code Playgroud)