bladeRF icon indicating copy to clipboard operation
bladeRF copied to clipboard

gr-osmosdr with gnuradio 3.7

Open damgoap opened this issue 5 years ago • 1 comments

Hi there, I installed gnuradio3.7.13.4 from source by following the process described from https://github.com/Nuand/bladeRF/wiki/Getting-Started:-Linux. The librairies used were extracted from https://wiki.gnuradio.org/index.php/UbuntuInstall. (Bionic Beaver (18.04) with gnuradio 3.7) my system : OS version : linux 18.04 LTS Kernel version : 5.0.0-31-generic

Then, I was trying to install the gr-osmosdr project from Source. The cmake process succeeded and it recognized the bladeRF. However, the building process failed. Here, the following errors :

Error 1 : ../gnuradio-build/gr-osmosdr/build/swig/osmosdr_swigPYTHON_wrap.cxx:30312:16: error: ‘class osmosdr::sink’ has no member named ‘set_log_level’; did you mean ‘set_clock_rate’? (*arg1)->set_log_level(arg2); Error 2 : ../gnuradio-build/gr-osmosdr/build/swig/osmosdr_swigPYTHON_wrap.cxx:25618:25: error: ‘class osmosdr::source’ has no member named ‘log_level’ result = (*arg1)->log_level(); ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// swig/CMakeFiles/_osmosdr_swig.dir/build.make:70: recipe for target 'swig/CMakeFiles/_osmosdr_swig.dir/osmosdr_swigPYTHON_wrap.cxx.o' failed make[2]: *** [swig/CMakeFiles/_osmosdr_swig.dir/osmosdr_swigPYTHON_wrap.cxx.o] Error 1 CMakeFiles/Makefile2:341: recipe for target 'swig/CMakeFiles/_osmosdr_swig.dir/all' failed make[1]: *** [swig/CMakeFiles/_osmosdr_swig.dir/all] Error 2 Makefile:140: recipe for target 'all' failed make: *** [all] Error 2 make_error

It seems to be a problem of gnuradio's version. Unfortunately, I must keep this version to manage a school project. How can I install gr-osmosdr project from source by using gnuradio3.7 ?

Thank you for your help

Damien GOAPER

damgoap avatar Oct 30 '19 09:10 damgoap

Hello,

I have also encountered this issue on the GR3.8 branch of gr-osmosdr, using SWIG version 4.0.2. What could cause this bug?

sonium-labs avatar Nov 10 '21 23:11 sonium-labs