cmakecppunitgnuradio

cmake for GNU Radio tutorial


I was trying to follow a tutorial on building the signal processing block on the gnuradio website: http://gnuradio.org/redmine/projects/gnuradio/wiki/OutOfTreeModules.

However, when it comes to the step where it requires me to use CMake, the terminal is complaining that

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

I have tried command such as sudo apt-get cppunit.


Solution

  • You need libcppunit-dev, which is a library for C++ unit testing:

    sudo apt install libcppunit-dev