Vasil,
Additionally I removed GNU Radio:

*sudo apt-get purge --auto-remove gnuradio*

And then install newer version using:

*sudo apt-get install gnuradio=3.9.2.0-0\~gnuradio\~focal-3
gnuradio-dev=3.9.2.0-0\~gnuradio\~focal-3 -y*

And now while build OOT module I have:


















































*-- 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-- Found LOG4CPP: /usr/lib/x86_64-linux-gnu/liblog4cpp.so-- Found
PkgConfig: /bin/pkg-config (found version "0.29.1") -- Checking for module
'gmp'--   Found gmp, version 6.2.0-- Found GMP:
/usr/lib/x86_64-linux-gnu/libgmpxx.so  -- Using GMP.-- Found MPLIB:
/usr/lib/x86_64-linux-gnu/libgmpxx.so  -- Found Boost:
/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found suitable
version "1.71.0", minimum required is "1.71.0") found components: date_time
program_options filesystem system regex thread unit_test_framework -- Found
Volk: Volk::volk  -- User set python executable /usr/bin/python3-- Found
PythonInterp: /usr/bin/python3 (found version "3.8.10") -- Found
PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.8.so
<http://libpython3.8.so> (found suitable exact version "3.8.10") -- After
find package of GNU Radio-- Found Git: /bin/git  -- Extracting version
information from git describe...-- Found Doxygen: /bin/doxygen (found
version "1.8.17") found components: doxygen missing components: dot-- Using
install prefix: /usr/local-- Building for version: ea6e6f49 / 1.0.0git-- No
C++ unit tests... skipping-- Found SWIG: /bin/swig4.0 (found version
"4.0.1") -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.8.so
<http://libpython3.8.so> (found version "3.8.10") CMake Error at
swig/CMakeLists.txt:37 (include):  include could not find load file:
GrSwigCMake Error at swig/CMakeLists.txt:51 (GR_SWIG_MAKE):  Unknown CMake
command "GR_SWIG_MAKE".-- Configuring incomplete, errors occurred!See also
"/home/gnuradio/gr-howto/build/CMakeFiles/CMakeOutput.log".See also
"/home/gnuradio/gr-howto/build/CMakeFiles/CMakeError.log".*

I would be glad for guidance on how to debug that issue.
Marcin

pon., 11 paź 2021 o 14:34 Marcin Puchlik <m.puch...@is-wireless.com>
napisał(a):

> Vasil,
> What I did is uninstalling GNU Radio with configuration files:
>
> *sudo apt-get purge --auto-remove gnuradio*
>
> then install GNU Radio using:
>
> *sudo apt-get install gnuradio=3.8.1.0\~rc1-2build2
> gnuradio-dev=3.8.1.0\~rc1-2build2 -y*
>
> then, while listing GNU Radio packages I have:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *ii  binutils-x86-64-linux-gnu                  2.34-6ubuntu1.1
>             amd64        GNU binary utilities, for x86-64-linux-gnu
> targetii  gnupg                                      2.2.19-3ubuntu2.1
>                 all          GNU privacy guard - a free PGP replacementii
>  gnupg-l10n                                 2.2.19-3ubuntu2.1
>       all          GNU privacy guard - localization filesii  gnupg-utils
>                              2.2.19-3ubuntu2.1                     amd64
>      GNU privacy guard - utility programsii  gnuplot-data
>             5.2.8+dfsg1-2                         all          Command-line
> driven interactive plotting program. Data-filesii  gnuplot-qt
>                   5.2.8+dfsg1-2                         amd64
>  Command-line driven interactive plotting program. QT-packageii  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  gr-fcdproplus
>      3.8.0.0-4+b1~gnuradio~focal-4         amd64        Funcube Dongle Pro
> Plus controller for GNU Radioii  gr-iqbal
> 3.8.0.0-4+b4~gnuradio~focal-7         amd64        GNU Radio Blind IQ
> imbalance estimator and correctionii  gr-osmosdr
>       0.2.0.0-0~gnuradio~focal-0            amd64        Gnuradio blocks
> from the OsmoSDR projectii  libcurl3-gnutls:amd64
>  7.68.0-1ubuntu2.7                     amd64        easy-to-use client-side
> URL transfer library (GnuTLS flavour)ii  libgnuradio-analog3.8.1:amd64
>          3.8.1.0-0~gnuradio~focal-6            amd64        gnuradio analog
> functionsii  libgnuradio-audio3.8.1:amd64               3.8.1.0~rc1-2build2
>                   amd64        gnuradio audio functionsii
>  libgnuradio-audio3.8.2:amd64               3.8.2.0-0~gnuradio~focal-2
>        amd64        gnuradio audio functionsii
>  libgnuradio-blocks3.8.1:amd64              3.8.1.0-0~gnuradio~focal-6
>        amd64        gnuradio blocks functionsii
>  libgnuradio-blocks3.8.2:amd64              3.8.2.0-0~gnuradio~focal-2
>        amd64        gnuradio blocks functionsii
>  libgnuradio-channels3.8.1:amd64            3.8.1.0~rc1-2build2
>       amd64        gnuradio channels functionsii
>  libgnuradio-digital3.8.1:amd64             3.8.1.0-0~gnuradio~focal-6
>        amd64        gnuradio digital communications functionsii
>  libgnuradio-dtv3.8.1:amd64                 3.8.1.0~rc1-2build2
>       amd64        gnuradio digital TV signal processing blocksii
>  libgnuradio-fcdproplus3.8.0                3.8.0.0-4+b1~gnuradio~focal-4
>       amd64        Funcube Dongle Pro Plus controller for GNU Radio
> (runtime)ii  libgnuradio-fec3.8.1:amd64                 3.8.1.0~rc1-2build2
>                   amd64        gnuradio forward error correction supportii
>  libgnuradio-fft3.8.1:amd64                 3.8.1.0-0~gnuradio~focal-6
>        amd64        gnuradio fast Fourier transform functionsii
>  libgnuradio-filter3.8.1:amd64              3.8.1.0-0~gnuradio~focal-6
>        amd64        gnuradio filter functionsii  libgnuradio-iqbalance3.8.0
>                 3.8.0.0-4+b4~gnuradio~focal-7         amd64        GNU
> Radio Blind IQ imbalance estimator and correction (shared library)ii
>  libgnuradio-limesdr3.0.1:amd64             3.0.1-2build1
>       amd64        LimeSDR blocks for GnuRadio (runtime library)ii
>  libgnuradio-osmosdr0.2.0:amd64             0.2.0.0-0~gnuradio~focal-0
>        amd64        Gnuradio blocks from the OsmoSDR project - libraryii
>  libgnuradio-pmt3.8.1:amd64                 3.8.1.0-0~gnuradio~focal-6
>        amd64        gnuradio pmt container libraryii
>  libgnuradio-pmt3.8.2:amd64                 3.8.2.0-0~gnuradio~focal-2
>        amd64        gnuradio pmt container libraryii
>  libgnuradio-qtgui3.8.1:amd64               3.8.1.0~rc1-2build2
>       amd64        gnuradio Qt graphical user interface functionsii
>  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  libgnuradio-trellis3.8.1:amd64
> 3.8.1.0~rc1-2build2                   amd64        gnuradio trellis
> modulation functionsii  libgnuradio-uhd3.8.1:amd64
> 3.8.1.0~rc1-2build2                   amd64        gnuradio universal
> hardware driver functionsii  libgnuradio-uhd3.8.2:amd64
> 3.8.2.0-0~gnuradio~focal-2            amd64        gnuradio universal
> hardware driver functionsii  libgnuradio-video-sdl3.8.1:amd64
> 3.8.1.0~rc1-2build2                   amd64        gnuradio video
> functionsii  libgnuradio-vocoder3.8.1:amd64             3.8.1.0~rc1-2build2
>                   amd64        gnuradio vocoder functionsii
>  libgnuradio-wavelet3.8.1:amd64             3.8.1.0~rc1-2build2
>       amd64        gnuradio wavelet functionsii
>  libgnuradio-zeromq3.8.1:amd64              3.8.1.0~rc1-2build2
>       amd64        gnuradio zeromq functionsii  libgnutls30:amd64
>                3.6.13-2ubuntu1.6                     amd64        GNU TLS
> library - main runtime libraryii  libneon27-gnutls:amd64
>   0.30.2-4                              amd64        HTTP and WebDAV client
> library (GnuTLS enabled)*
>
> Which look correct for me, but while compiling OOT module I still have:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *-- 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-- Found LOG4CPP: /usr/lib/x86_64-linux-gnu/liblog4cpp.so-- Found
> PkgConfig: /bin/pkg-config (found version "0.29.1") -- Checking for module
> 'gmp'--   Found gmp, version 6.2.0-- Found GMP:
> /usr/lib/x86_64-linux-gnu/libgmpxx.so  -- Checking for module 'mpir >=
> 3.0'--   No package 'mpir' found-- Could NOT find MPIR (missing:
> MPIRXX_LIBRARY MPIR_LIBRARY MPIR_INCLUDE_DIR) -- Found MPLIB:
> /usr/lib/x86_64-linux-gnu/libgmpxx.so  -- Found Boost:
> /lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found suitable
> version "1.71.0", minimum required is "1.71.0") found components: date_time
> program_options filesystem system regex thread unit_test_framework -- Found
> Volk: Volk::volk  -- User set python executable /usr/bin/python3-- Found
> PythonInterp: /usr/bin/python3 (found version "3.8.10") -- Found
> PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.8.so
> <http://libpython3.8.so> (found suitable exact version "3.8.10") -- After
> find package of GNU Radio-- Found Git: /bin/git  -- Extracting version
> information from git describe...-- Found Doxygen: /bin/doxygen (found
> version "1.8.17") found components: doxygen missing components: dot-- Using
> install prefix: /usr/local-- Building for version: ea6e6f49 / 1.0.0git-- No
> C++ unit tests... skipping-- -- Checking for module SWIG-- Found SWIG
> version 4.0.1.-- Found SWIG: /bin/swig4.0  -- Found PythonLibs:
> /usr/lib/x86_64-linux-gnu/libpython3.8.so <http://libpython3.8.so> (found
> version "3.8.10") -- Configuring doneCMake Error in lib/CMakeLists.txt:
> Imported target "gnuradio::gnuradio-runtime" includes non-existent path
> "/include"  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons
> include:  * The path was deleted, renamed, or moved to another location.  *
> An install or uninstall procedure did not complete successfully.  * The
> installation package was faulty and references files it does not
> provide.CMake Error in lib/CMakeLists.txt:  Imported target
> "gnuradio::gnuradio-runtime" includes non-existent path    "/include"  in
> its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:  * The path
> was deleted, renamed, or moved to another location.  * An install or
> uninstall procedure did not complete successfully.  * The installation
> package was faulty and references files it does not  provide.-- Generating
> doneCMake Generate step failed.  Build files cannot be regenerated
> correctly.*
>
> Thanks,
> Marcin
>
> pon., 11 paź 2021 o 13:48 Vasil Velichkov <vvvelich...@gmail.com>
> napisał(a):
>
>> 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
>>
>

Reply via email to