[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cmake cannot find GNU Radio package
From: |
Marcus Müller |
Subject: |
Re: Cmake cannot find GNU Radio package |
Date: |
Sun, 10 Oct 2021 22:46:16 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
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
>
>
>
>
>
- Cmake cannot find GNU Radio package, Marcin Puchlik, 2021/10/08
- Re: Cmake cannot find GNU Radio package,
Marcus Müller <=
- Re: Cmake cannot find GNU Radio package, Marcin Puchlik, 2021/10/11
- Re: Cmake cannot find GNU Radio package, Vasil Velichkov, 2021/10/11
- Re: Cmake cannot find GNU Radio package, Marcin Puchlik, 2021/10/11
- Re: Cmake cannot find GNU Radio package, Vasil Velichkov, 2021/10/11
- Re: Cmake cannot find GNU Radio package, Marcin Puchlik, 2021/10/11
- Re: Cmake cannot find GNU Radio package, Vasil Velichkov, 2021/10/11
- Re: Cmake cannot find GNU Radio package, Marcin Puchlik, 2021/10/11
- Re: Cmake cannot find GNU Radio package, Vasil Velichkov, 2021/10/11
- Re: Cmake cannot find GNU Radio package, Marcin Puchlik, 2021/10/11
- Re: Cmake cannot find GNU Radio package, Marcin Puchlik, 2021/10/11