Gr-osmosdr airspy compiling error

Hi,

i try to install gnuradio and some apps with pybombs and app_store.

When i want install and build gr-osmosdr i get the following error
message:

[ 2%] Building CXX object
lib/CMakeFiles/gnuradio-osmosdr.dir/airspy/airspy_source_c.cc.o
/home/odroid/pybombs/src/gr-osmosdr/lib/airspy/airspy_source_c.cc: In
constructor ‘airspy_source_c::airspy_source_c(const string&)’:
/home/odroid/pybombs/src/gr-osmosdr/lib/airspy/airspy_source_c.cc:115:45:
error:
‘airspy_get_samplerates’ was not declared in this scope
airspy_get_samplerates(_dev, &num_rates, 0);
^
/home/odroid/pybombs/src/gr-osmosdr/lib/airspy/airspy_source_c.cc: In
member function ‘virtual double
airspy_source_c::set_sample_rate(double)’:
/home/odroid/pybombs/src/gr-osmosdr/lib/airspy/airspy_source_c.cc:370:56:
error:
invalid conversion from ‘uint32_t {aka unsigned int}’ to
‘airspy_samplerate_t’ [-fpermissive]
ret = airspy_set_samplerate( _dev, samp_rate_index );
^
In file included from
/home/odroid/pybombs/src/gr-osmosdr/lib/airspy/airspy_source_c.h:31:0,
from
/home/odroid/pybombs/src/gr-osmosdr/lib/airspy/airspy_source_c.cc:42:
/usr/local/include/libairspy/airspy.h:126:27: error: initializing
argument 2 of ‘int airspy_set_samplerate(airspy_device*,
airspy_samplerate_t)’ [-fpermissive]
extern ADDAPI int ADDCALL airspy_set_samplerate(struct airspy_device*
device, airspy_samplerate_t samplerate);
^
make[2]: ***
[lib/CMakeFiles/gnuradio-osmosdr.dir/airspy/airspy_source_c.cc.o] Error
1
make[1]: *** [lib/CMakeFiles/gnuradio-osmosdr.dir/all] Error 2
make: *** [all] Error 2

Andy

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs