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: Vasil Velichkov
Subject: Re: Cmake cannot find GNU Radio package
Date: Mon, 11 Oct 2021 16:01:38 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.0

Hi Marcin,

On 11/10/2021 15.49, Marcin Puchlik wrote:
> 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*

Please choose one version and stick with it.

> 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

Gnuradio 3.8 and 3.9 are not compatible. One of the major changes is replacing 
SWIG with pybind. You can't just build a module developed for 3.8 on 3.9. You 
need to either port it [1] or build it from scratch using gr_modtool from 3.9.

[1] https://wiki.gnuradio.org/index.php/GNU_Radio_3.9_OOT_Module_Porting_Guide

Regards,
Vasil



reply via email to

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