Error: GNURADIO filter not found, while making own custom block in gnuradio

While making own custom block “derivative_ff” using method specified in
"
https://gnuradio.org/redmine/projects/gnuradio/wiki/OutOfTreeModulesConfig"
on Gnuradio 3.7.3 and for OS ubuntu 4.10, following error struck me
while
compiling the file using “cmake …/”.
abhishek@abhishek-Inspiron-N5110:~/gnuradio-master/gr-howto/build$ cmake
…/
– Build type not specified: defaulting to release.
– Boost version: 1.55.0
– Found the following Boost libraries:
– filesystem
– system
Checking for GNU Radio Module: RUNTIME

  • INCLUDES=/usr/local/include

LIBS=/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so
GNURADIO_RUNTIME_FOUND = TRUE
Checking for GNU Radio Module: FILTER
– checking for module ‘gnuradio-filter’
– package ‘gnuradio-filter’ not found

  • INCLUDES=GNURADIO_FILTER_INCLUDE_DIRS-NOTFOUND
  • LIBS=GNURADIO_FILTER_LIBRARIES_gnuradio-filter-NOTFOUND
    – Could NOT find GNURADIO_FILTER (missing: GNURADIO_FILTER_LIBRARIES
    GNURADIO_FILTER_INCLUDE_DIRS)
    GNURADIO_FILTER_FOUND = FALSE
    CMake Error at /usr/local/lib/cmake/gnuradio/GnuradioConfig.cmake:110
    (message):
    Required GNU Radio Component: FILTER missing!
    Call Stack (most recent call first):
    /usr/local/lib/cmake/gnuradio/GnuradioConfig.cmake:127 (GR_MODULE)
    CMakeLists.txt:93 (find_package)

– Configuring incomplete, errors occurred!
See also
“/home/abhishek/gnuradio-master/gr-howto/build/CMakeFiles/CMakeOutput.log”.

Any suggestions will be appreciated,
Thanks in advance,
Abhishek.

Hi Abhishek,

how did you install GNU Radio?
Usually, gr-filter is available, but if some dependencies were missing
at build time, it might have been omitted.

Greetings,
Marcus

Hey Abhishek,

that sounds solvable :slight_smile:
Uninstall the Ubuntu GNU Radio version with apt-get remove, rebuild from
source, install, and try again.

By the way, please reply to the emails on the mailing list, and not to
the digest, and at least change the subject of the reply. I nearly
missed your email because it had the subject “Discuss-gnuradio Digest,
Vol 148, Issue 8” instead of “error: GNURADIO filter not found, while
making own custom block in gnuradio”.

Greetings,
Marcus