SDRAngel Rx & Tx

@Vishwesh,

With newer versions (like Ubuntu 18.04) just do:

sudo apt-get install cmake g++ pkg-config libfftw3-dev libqt5multimedia5-plugins qtmultimedia5-dev qttools5-dev qttools5-dev-tools libqt5opengl5-dev qtbase5-dev libusb-1.0 librtlsdr-dev libboost-all-dev libasound2-dev pulseaudio libnanomsg-dev libopencv-dev libsqlite3-dev libxml2-dev bison flex ffmpeg libavcodec-dev libavformat-dev

mkdir build && cd build && cmake …/ && make

librtlsdr-dev is in the universe repo. (utopic 14.10 amd64.)

Hope this information helps - 73 de Marty, KN0CK

1 Like

If I use the above sequence of commands I am getting following message:`

/home/vishwesh/sdrangel/plugins/samplesource/sdrplay/sdrplayinput.cpp: In member function ‘bool SDRPlayInput::openDevice()’:
/home/vishwesh/sdrangel/plugins/samplesource/sdrplay/sdrplayinput.cpp:87:37: error: ‘MIRISDR_HW_SDRPLAY’ was not declared in this scope
if ((res = mirisdr_open(&m_dev, MIRISDR_HW_SDRPLAY, m_devNumber)) < 0)
^~~~~~~~~~~~~~~~~~
/home/vishwesh/sdrangel/plugins/samplesource/sdrplay/sdrplayinput.cpp:87:37: note: suggested alternative: ‘MIRISDR_API’
if ((res = mirisdr_open(&m_dev, MIRISDR_HW_SDRPLAY, m_devNumber)) < 0)
^~~~~~~~~~~~~~~~~~
MIRISDR_API
/home/vishwesh/sdrangel/plugins/samplesource/sdrplay/sdrplayinput.cpp: In member function ‘virtual bool SDRPlayInput::start()’:
/home/vishwesh/sdrangel/plugins/samplesource/sdrplay/sdrplayinput.cpp:137:13: error: ‘mirisdr_set_sample_format’ was not declared in this scope
if ((res = mirisdr_set_sample_format(m_dev, s12FormatString))) // sample format S12
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/vishwesh/sdrangel/plugins/samplesource/sdrplay/sdrplayinput.cpp:137:13: note: suggested alternative: ‘mirisdr_set_sample_rate’
if ((res = mirisdr_set_sample_format(m_dev, s12FormatString))) // sample format S12
^~~~~~~~~~~~~~~~~~~~~~~~~
mirisdr_set_sample_rate
/home/vishwesh/sdrangel/plugins/samplesource/sdrplay/sdrplayinput.cpp:155:13: error: ‘mirisdr_set_transfer’ was not declared in this scope
if ((res = mirisdr_set_transfer(m_dev, bulkFormatString)) < 0)
^~~~~~~~~~~~~~~~~~~~
/home/vishwesh/sdrangel/plugins/samplesource/sdrplay/sdrplayinput.cpp:155:13: note: suggested alternative: ‘mirisdr_reset_buffer’
if ((res = mirisdr_set_transfer(m_dev, bulkFormatString)) < 0)
^~~~~~~~~~~~~~~~~~~~
mirisdr_reset_buffer
/home/vishwesh/sdrangel/plugins/samplesource/sdrplay/sdrplayinput.cpp: In member function ‘bool SDRPlayInput::applySettings(const SDRPlaySettings&, bool, bool)’:
/home/vishwesh/sdrangel/plugins/samplesource/sdrplay/sdrplayinput.cpp:391:35: error: ‘mirisdr_get_mixbuffer_gain’ was not declared in this scope
lnaGain = mirisdr_get_mixbuffer_gain(m_dev);
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vishwesh/sdrangel/plugins/samplesource/sdrplay/sdrplayinput.cpp:391:35: note: suggested alternative: ‘mirisdr_get_tuner_gain’
lnaGain = mirisdr_get_mixbuffer_gain(m_dev);
^~~~~~~~~~~~~~~~~~~~~~~~~~
mirisdr_get_tuner_gain
/home/vishwesh/sdrangel/plugins/samplesource/sdrplay/sdrplayinput.cpp:395:35: error: ‘mirisdr_get_lna_gain’ was not declared in this scope
lnaGain = mirisdr_get_lna_gain(m_dev);
^~~~~~~~~~~~~~~~~~~~
/home/vishwesh/sdrangel/plugins/samplesource/sdrplay/sdrplayinput.cpp:395:35: note: suggested alternative: ‘mirisdr_get_tuner_gain’
lnaGain = mirisdr_get_lna_gain(m_dev);
^~~~~~~~~~~~~~~~~~~~
mirisdr_get_tuner_gain
/home/vishwesh/sdrangel/plugins/samplesource/sdrplay/sdrplayinput.cpp:400:29: error: ‘mirisdr_get_mixer_gain’ was not declared in this scope
mirisdr_get_mixer_gain(m_dev),
^~~~~~~~~~~~~~~~~~~~~~
/home/vishwesh/sdrangel/plugins/samplesource/sdrplay/sdrplayinput.cpp:400:29: note: suggested alternative: ‘mirisdr_get_tuner_gain’
mirisdr_get_mixer_gain(m_dev),
^~~~~~~~~~~~~~~~~~~~~~
mirisdr_get_tuner_gain
/home/vishwesh/sdrangel/plugins/samplesource/sdrplay/sdrplayinput.cpp:401:29: error: ‘mirisdr_get_baseband_gain’ was not declared in this scope
mirisdr_get_baseband_gain(m_dev),
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/vishwesh/sdrangel/plugins/samplesource/sdrplay/sdrplayinput.cpp:401:29: note: suggested alternative: ‘mirisdr_get_tuner_gain’
mirisdr_get_baseband_gain(m_dev),
^~~~~~~~~~~~~~~~~~~~~~~~~
mirisdr_get_tuner_gain
/home/vishwesh/sdrangel/plugins/samplesource/sdrplay/sdrplayinput.cpp:422:29: error: ‘mirisdr_set_mixbuffer_gain’ was not declared in this scope
int r = mirisdr_set_mixbuffer_gain(m_dev, settings.m_lnaOn ? 0 : 1); // mirisdr_set_mixbuffer_gain takes gain reduction
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vishwesh/sdrangel/plugins/samplesource/sdrplay/sdrplayinput.cpp:422:29: note: suggested alternative: ‘mirisdr_set_tuner_gain’
int r = mirisdr_set_mixbuffer_gain(m_dev, settings.m_lnaOn ? 0 : 1); // mirisdr_set_mixbuffer_gain takes gain reduction
^~~~~~~~~~~~~~~~~~~~~~~~~~
mirisdr_set_tuner_gain
/home/vishwesh/sdrangel/plugins/samplesource/sdrplay/sdrplayinput.cpp:436:29: error: ‘mirisdr_set_lna_gain’ was not declared in this scope
int r = mirisdr_set_lna_gain(m_dev, settings.m_lnaOn ? 0 : 1); // mirisdr_set_lna_gain takes gain reduction
^~~~~~~~~~~~~~~~~~~~
/home/vishwesh/sdrangel/plugins/samplesource/sdrplay/sdrplayinput.cpp:436:29: note: suggested alternative: ‘mirisdr_set_tuner_gain’
int r = mirisdr_set_lna_gain(m_dev, settings.m_lnaOn ? 0 : 1); // mirisdr_set_lna_gain takes gain reduction
^~~~~~~~~~~~~~~~~~~~
mirisdr_set_tuner_gain
/home/vishwesh/sdrangel/plugins/samplesource/sdrplay/sdrplayinput.cpp:455:25: error: ‘mirisdr_set_mixer_gain’ was not declared in this scope
int r = mirisdr_set_mixer_gain(m_dev, settings.m_mixerAmpOn ? 0 : 1); // mirisdr_set_lna_gain takes gain reduction
^~~~~~~~~~~~~~~~~~~~~~
/home/vishwesh/sdrangel/plugins/samplesource/sdrplay/sdrplayinput.cpp:455:25: note: suggested alternative: ‘mirisdr_set_tuner_gain’
int r = mirisdr_set_mixer_gain(m_dev, settings.m_mixerAmpOn ? 0 : 1); // mirisdr_set_lna_gain takes gain reduction
^~~~~~~~~~~~~~~~~~~~~~
mirisdr_set_tuner_gain
compilation terminated due to -fmax-errors=10.
plugins/samplesource/sdrplay/CMakeFiles/inputsdrplay.dir/build.make:90: recipe for target ‘plugins/samplesource/sdrplay/CMakeFiles/inputsdrplay.dir/sdrplayinput.cpp.o’ failed
make[2]: *** [plugins/samplesource/sdrplay/CMakeFiles/inputsdrplay.dir/sdrplayinput.cpp.o] Error 1
CMakeFiles/Makefile2:3097: recipe for target ‘plugins/samplesource/sdrplay/CMakeFiles/inputsdrplay.dir/all’ failed
make[1]: *** [plugins/samplesource/sdrplay/CMakeFiles/inputsdrplay.dir/all] Error 2
Makefile:129: recipe for target ‘all’ failed
make: *** [all] Error 2

`

@Vishwesh,

You did download the SDRAngel package here, right ----> https://github.com/f4exb/sdrangel/releases

Also, there are LimeSDR dependencies here:

LimeSDR
LimeSDR and its smaller clone LimeSDR Mini are supported using LimeSuite library (see next).

:warning: Version 18.04.1 of LimeSuite is used in the builds and corresponding gateware loaded in the LimeSDR should be is used (2.16 for LimeSDR-USB and 1.24 for LimeSDR-Mini). If you compile from source version 18.04.1 of LimeSuite must be used.

:warning: LimeSDR-Mini seems to have problems with Zadig driver therefore it is supported in Linux only.

sudo apt-get install libsqlite3-dev
git clone https://github.com/myriadrf/LimeSuite.git
cd LimeSuite
mkdir builddir
cd builddir
cmake -DCMAKE_INSTALL_PREFIX=/opt/install/LimeSuite …
make -j8
make install
Then add the following defines on cmake command line:

-DLIMESUITE_INCLUDE_DIR=/opt/install/LimeSuite/include - DLIMESUITE_LIBRARY=/opt/install/LimeSuite/lib/libLimeSuite.so

Please read the following page to get the details in its entirety -----> https://github.com/f4exb/sdrangel

Hope this new information helps - 73 de Marty, KN0CK

1 Like

Your in sdrangel directory …

If anyone reads this from a newer install of Ubuntu 18.04 … limesuite already ghas a folder called build …

I use mkdir build1 && cd build1

Any updates on this project. I was looking at purchasing a Hack RF One and Portapack combo but I like the features that the Lime SDR offer. Patiently waiting…

@kman62,

SDRAngel is fully operational in receive and transmit with the LimeSDR - you can transmit from HF to SHF using it. I am developing a transceiver from the LimeSDR using SDRAngel but I’m still in the process of putting the pieces together to make this happen and don’t expect to be completed before May of this year.

More as I have it - Stay tuned,

73 de Marty, KN0CK

With a good USB3.0 … i think arm emulates USB3.0 and that is why its not working … ed still states that lime is only usb3 … where sdr-console does transmit on USB2.0 with 750k sample … though i like 2.5M …

Im using an i5 platform now … with openSUSE … still working out bugs …

In openSUSE gqrx is working … with the simplified radio discovery string

driver=lime,(something)=soapy0

1 Like

Faced with this problem when compiling sdrangel on a regular machine, I didn’t know what to do.
So I tried to experiment with the source code.

I managed to eliminate this error in two ways.
You can comment out all references to these calls “mirisdr*” in /opt/build/sdrangel/plugins/samplesource/sdrplay/sdrplayinput.cpp or locally install from source: libmirisdr-4.

My version of sdrplayinput.cpp with coments of calls “mirisdr*”.
You can simply replace this file and install nothing. If there is no need for this device.
sdrplayinput.cpp