discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cmake cannot find GNU Radio package


From: Marcin Puchlik
Subject: Cmake cannot find GNU Radio package
Date: Fri, 8 Oct 2021 19:48:57 +0200

While building my own OOT, cmake isn't able to locate the GNU Radio package. Basically it crashes at the following instruction:
find_package(Gnuradio "3.8" REQUIRED)

.. and the output is:
-- The CXX compiler identification is GNU 9.3.0
-- The C compiler identification is GNU 9.3.0
-- Check for working CXX compiler: /bin/c++
-- Check for working CXX compiler: /bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /bin/cc
-- Check for working C compiler: /bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Build type not specified: defaulting to release.
-- Before find package of GNU Radio
CMake Error at CMakeLists.txt:90 (find_package):
  By not providing "FindGnuradio.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Gnuradio",
  but CMake did not find one.

  Could not find a package configuration file provided by "Gnuradio"
  (requested version 3.8) with any of the following names:

    GnuradioConfig.cmake
    gnuradio-config.cmake

  Add the installation prefix of "Gnuradio" to CMAKE_PREFIX_PATH or set
  "Gnuradio_DIR" to a directory containing one of the above files.  If
  "Gnuradio" provides a separate development package or SDK, be sure it has
  been installed.


-- Configuring incomplete, errors occurred!
See also "/home/gnuradio/gr-howto/build/CMakeFiles/CMakeOutput.log".

Additional informations:
- GNU Radio was installed from PPA 
- GNU Radio version: 3.8.1.0
- system info: Ubuntu 20.04.3 LTS focal

Thanks
Marcin






reply via email to

[Prev in Thread] Current Thread [Next in Thread]