discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: Cmake cannot find GNU Radio package


From: Marcin Puchlik
Subject: Re: Cmake cannot find GNU Radio package
Date: Mon, 11 Oct 2021 09:15:31 +0200

Hi Marcus,
Firstly, thanks for the response. I am using VM image which contains pre-installed GNU Radio, you can find it here: https://github.com/bastibl/instant-gnuradio
The reason behind using this image is that I am experimenting with GNU Radio and its dependencies (its kinda testing environment for me). By saying PPA I mean using standard repositories (sorry for the misunderstanding). I tried removing the old GRC installation by typing:
 sudo apt remove gnuradio 
then install it again by typing:
sudo apt install gnuradio=3.8.1.0\~rc1-2build2
Installation process was successful and I can run GNU Radio companion GUI but I do not know why during compilation process, cmake cannot find the GNU Radio. What's more, I was looking for those files:
    GnuradioConfig.cmake
    gnuradio-config.cmake
.. but couldn't find them on my machine. Does installation from standard repositories support building OOT modules or do I have to build GNU Radio from source or using PYBOMBs? 
On the other VM I have GNU Radio installed using PyBOMBs and those files exist and everything works fine.
Marcin

niedz., 10 paź 2021 o 22:46 Marcus Müller <marcus.mueller@ettus.com> napisał(a):
Hi Marcin,

any particular reason to use the PPA? Ubuntu 20.04 comes with GNU Radio 3.8.1.0 "out of
the box".

Generally, that line works just fine...


Best regards,

Marcus

DISCLAIMER: Any attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system, or for use in hazardous environments. You assume all risks for use of the Code. Use of the Code is subject to terms of the licenses to the UHD or RFNoC code with which the Code is used. Standard licenses to UHD and RFNoC can be found at https://www.ettus.com/sdr-software/licenses/.

NI will only perform services based on its understanding and condition that the goods or services (i) are not for the use in the production or development of any item produced, purchased, or ordered by any entity with a footnote 1 designation in the license requirement column of Supplement No. 4 to Part 744, U.S. Export Administration Regulations and (ii) such a company is not a party to the transaction.  If our understanding is incorrect, please notify us immediately because a specific authorization may be required from the U.S. Commerce Department before the transaction may proceed further.

On 08.10.21 19:48, Marcin Puchlik wrote:
> 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]