[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cmake cannot find GNU Radio package
From: |
Vasil Velichkov |
Subject: |
Re: Cmake cannot find GNU Radio package |
Date: |
Mon, 11 Oct 2021 14:48:20 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.0 |
On 11/10/2021 14.26, Marcin Puchlik wrote:
> *So first command gives:* *dpkg - l | grep gnuradio*
> *ii gnuradio 3.8.1.0~rc1-2build2
> amd64 GNU Radio Software Radio Toolkitii
> gnuradio-dev:amd64 3.8.1.0~rc1-2build2
> amd64 GNU Software Defined Radio toolkit developmentii
Good.
> libgnuradio-analog:amd64 3.9.2.0-0~gnuradio~focal-3
> amd64 gnuradio analog functionsii
> libgnuradio-analog3.8.1:amd64 3.8.1.0-0~gnuradio~focal-6
> amd64 gnuradio analog functionsii
> libgnuradio-analog3.8.2:amd64 3.8.2.0-0~gnuradio~focal-2
> amd64 gnuradio analog functionsii libgnuradio-audio:amd64
> libgnuradio-runtime:amd64 3.9.2.0-0~gnuradio~focal-3
> amd64 gnuradio core runtimeii
> libgnuradio-runtime3.8.1:amd64 3.8.1.0-0~gnuradio~focal-6
> amd64 gnuradio core runtimeii
> libgnuradio-runtime3.8.2:amd64 3.8.2.0-0~gnuradio~focal-2
> amd64 gnuradio core runtimeii
This is not so good. You have multiple versions of the various gnuradio's
libraries installed in parallel - 3.9.2.0, 3.8.1-0, 3.8.2.0. I'm not saying
that this is the reason for the error you are seeing (as most probably it is
not) but this could cause other hard to investigate problems. So my advice is
to clean everything - uninstall every libgnuradio* package that you currently
have and then install only gnuradio and gnuradio-dev packages.
> *second command: **sudo find / -name "gnuradio-runtime*.cmake"*
> /usr/lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets-none.cmake
> /usr/lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeConfig.cmake
> /usr/lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake
Looks good.
> *third command: **grep INTERFACE_INCLUDE_DIRECTORIES
> /usr/lib/x86_64-linux-gnu/cmake/gnuradio/**
> /usr/lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake:
> INTERFACE_INCLUDE_DIRECTORIES /usr/include"
Here the output looks OK.
> /usr/lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-uhdTargets.cmake:
> INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
but some of the other gnuradio-*.cmake files contain _IMPORT_PREFIX variable.
Maybe in some cases this variable is empty and this result in the error you are
observing. I'm not familiar at all with this part of the build system.
My advice is first to remove all gnuradio's packages, then reinstall and try on
a clean system. If it still does not work then you will need to debug these
cmake files.
Regards,
Vasil
- Cmake cannot find GNU Radio package, Marcin Puchlik, 2021/10/08
- Re: Cmake cannot find GNU Radio package, Marcus Müller, 2021/10/10
- 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 <=
- Re: Cmake cannot find GNU Radio package, Marcin Puchlik, 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, 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/12
- Re: Cmake cannot find GNU Radio package, Marcin Puchlik, 2021/10/12