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
No comments:
Post a Comment