Dear Andreas,
the airspy pybombs recipe installs the distribution's "airspy" package,
if you're using an apt-get based distribution (debian, ubuntu), and if
you have deb selected as preferred method (which is the default), and
it's not listed when you run
./pyboms config forcebuild
Best regards,
Marcus
On 05/28/2015 07:46 PM, Dimitri Stolnikov wrote:
Andreas,
can't tell you anything about pybombs. You should ask on the gnuradio
mailinglist.
Best regards,
Dimitri
On Thu, 28 May 2015 09:14:06 +0200, Andreas Ladanyi
<andreas.ladanyi(a)gmx.net> wrote:
> Hi Dimitri,
>
> doesnt pybombs install the last version of libairspy when download /
> build gr-osmosdr ???
>
> What is the best way to update the libairspy when using pybombs ?
>
> By the way iam using an odroid with ubuntu 14.04.
>
> cheers,
> Andy
>
>
> Am 28.05.2015 um 00:06 schrieb Dimitri Stolnikov:
>> Hi Andreas,
>>
>> your libairspy needs an update.
>>
>> Best regards,
>> Dimitri
>>
>> On Wed, 27 May 2015 10:03:29 +0200, Andreas Ladanyi
>> <andreas.ladanyi(a)gmx.net> wrote:
>>
>>> Hi,
>>>
>>> iam installing gnuradio 3.7.7.1 and gr-osmosdr with pybombs.
>>>
>>> I get the following compiling error:
>>>
>>> [ 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
>>>
>>> So the gr-osmosdr build/install procedure will not finish.
>>>
>>> cheers,
>>>
>>> Andy