Topics

Need help with source build on openSuSE Tumbleweed


Patrick Dohmen
 

Hi there,

Today I tried a build on opneSuSE Tumbleweed and get the following:

--8<--

[ 69%] Automatic MOC for target inputairspy
[ 69%] Built target inputairspy_autogen
[ 70%] Built target inputairspy
[ 71%] Automatic MOC for target inputairspyhf
[ 71%] Built target inputairspyhf_autogen
[ 71%] Building CXX object plugins/samplesource/airspyhf/CMakeFiles/inputairspyhf.dir/airspyhfinput.cpp.o
/home/pd/software/sdrangel/plugins/samplesource/airspyhf/airspyhfinput.cpp: In member function 'bool AirspyHFInput::applySettings(const AirspyHFSettings&, bool)':
/home/pd/software/sdrangel/plugins/samplesource/airspyhf/airspyhfinput.cpp:555:35: error: 'airspyhf_set_lib_dsp' was not declared in this scope
             rc = (airspyhf_error) airspyhf_set_lib_dsp(m_dev, settings.m_useDSP ? 1 : 0);
                                   ^~~~~~~~~~~~~~~~~~~~
/home/pd/software/sdrangel/plugins/samplesource/airspyhf/airspyhfinput.cpp:555:35: note: suggested alternative: 'airspyhf_set_hf_lna'
             rc = (airspyhf_error) airspyhf_set_lib_dsp(m_dev, settings.m_useDSP ? 1 : 0);
                                   ^~~~~~~~~~~~~~~~~~~~
                                   airspyhf_set_hf_lna
make[2]: *** [plugins/samplesource/airspyhf/CMakeFiles/inputairspyhf.dir/build.make:80: plugins/samplesource/airspyhf/CMakeFiles/inputairspyhf.dir/airspyhfinput.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2805: plugins/samplesource/airspyhf/CMakeFiles/inputairspyhf.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

-->8--

Any hints how to solve this appreciated!

Best regards,

Patrick, DL4PD


Edouard Griffiths
 

Hello,

please use the latest commit of airspyhf: https://github.com/airspy/airspyhf
I think these methods were introduced much earlier but getting the latest changes will not hurt.

Best regards,
Edouard.


Patrick Dohmen
 

Thanks Edouard,

That helped with the build, but actually I cannot select any devices other than "File Source" and "Test Source".

Digging into this now as there seem to be no SDR libraries installed (no librtlsdr, no Soapy, etc.).


Best regards,

Patrick, DL4PD


Am 19.01.19 um 16:36 schrieb Edouard Griffiths:

Hello,

please use the latest commit of airspyhf: https://github.com/airspy/airspyhf
I think these methods were introduced much earlier but getting the latest changes will not hurt.

Best regards,
Edouard.


Patrick Dohmen
 

Got it running!

Am 19.01.19 um 18:00 schrieb Patrick Dohmen:

Thanks Edouard,

That helped with the build, but actually I cannot select any devices other than "File Source" and "Test Source".

Digging into this now as there seem to be no SDR libraries installed (no librtlsdr, no Soapy, etc.).


Best regards,

Patrick, DL4PD


Am 19.01.19 um 16:36 schrieb Edouard Griffiths:
Hello,

please use the latest commit of airspyhf: https://github.com/airspy/airspyhf
I think these methods were introduced much earlier but getting the latest changes will not hurt.

Best regards,
Edouard.