SDRuno on Linux

Post your feedback here
sdrplay
Posts: 978
Joined: Wed Jan 07, 2015 7:58 am

Re: SDRuno on Linux

Post by sdrplay » Wed Feb 22, 2017 11:06 am

What's important is how you have built the wxWidgets

For me I have the following structure...

/home/sdrplay/Dev/wxWidgets-3.1.0
/home/sdrplay/Dev/wxWidgets-staticlib

so you need to be careful when building wxWidgets that the correct path for the output is specified. Then make sure that same path is used in the CubicSDR build.

What's your wxWidgets cmake command look like?

Best regards,

SDRplay Support

Reason: No reason

octave9
Posts: 59
Joined: Sun Feb 19, 2017 7:54 pm

Re: SDRuno on Linux

Post by octave9 » Wed Feb 22, 2017 11:56 am

wxWidgets doesn't use cmake. The make I used was the two line variety. From cli history it went:

tar -xvjf wxWidgets-3.1.0.tar.bz2
cd wxWidgets-3.1.0/
./autogen.sh
./configure --with-opengl --disable-shared --enable-monolithic --with-libjpeg --with-libtiff --with-libpng --with-zlib --disable-sdltest --enable-unicode --enable-display --enable-propgrid --disable-webkit --disable-webview --disable-webviewwebkit --prefix=`echo ~/SDR-Dev/wxWidgets-staticlib` CXXFLAGS="-std=c++0x"
make -j4
make install

The previous doc. I followed had 'make j4 && make install' both work, of course.

Thanks though. You and others obviously have it working, so it must be something wrong on my end. I'll have another look when I get some time.

Reason: No reason

octave9
Posts: 59
Joined: Sun Feb 19, 2017 7:54 pm

Re: SDRuno on Linux

Post by octave9 » Fri Feb 24, 2017 1:03 pm

Got my RSP2 yesterday. Tried it briefly on my Windows PC with both SDRUno and HDSDR. No problems and SDRUno looks and feels wonderful, albeit with rather small text on 1440p. Couldn't get either to work with RDP as Windows 7 disables system audio when that protocol is used for connections...

Got further with CubicSDR on Linux. Apparently cmake can't stand hyphens on the command line in filenames. So my 'SDR-Dev' folder broke it. Yup. I was shocked too, especially when I realised it applies to the darn 'wxWidgets-staticlib' part of the instructions as well. Means the original "Build static wxWidgets" instructions at https://github.com/cjcliffe/CubicSDR/wiki/Build-Linux are wrong too.

So the wxWidgets config line I used was:

Code: Select all

./configure --with-opengl --disable-shared --enable-monolithic --with-libjpeg --with-libtiff --with-libpng --with-zlib --disable-sdltest --enable-unicode --enable-display --enable-propgrid --disable-webkit --disable-webview --disable-webviewwebkit --prefix=`echo ~/SDR_Dev/wxWidgets_staticlib` CXXFLAGS="-std=c++0x"
CubicSDR build's 'cmake' modified line then works but then it fails at the 'make' like:

Code: Select all

john@Mint-18 ~/SDR_Dev/CubicSDR/build $ cmake ../ -DCMAKE_BUILD_TYPE=Release -DwxWidgets_CONFIG_EXECUTABLE=~/SDR_Dev/wxWidgets_staticlib/bin/wx-config
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
64 bit compiler detected
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so  
-- Found LIQUID: /usr/local/lib/libliquid.so  
-- Found wxWidgets: -L/home/john/SDR_Dev/wxWidgets_staticlib/lib;-pthread;;;/home/john/SDR_Dev/wxWidgets_staticlib/lib/libwx_gtk2u_gl-3.1.a;-lGL;-lGLU;/home/john/SDR_Dev/wxWidgets_staticlib/lib/libwx_gtk2u-3.1.a;-lgtk-x11-2.0;-lgdk-x11-2.0;-lpangocairo-1.0;-latk-1.0;-lcairo;-lgdk_pixbuf-2.0;-lgio-2.0;-lpangoft2-1.0;-lpango-1.0;-lgobject-2.0;-lfontconfig;-lfreetype;-lgthread-2.0;-pthread;-lglib-2.0;-lX11;-lXxf86vm;-lSM;-lgtk-x11-2.0;-lgdk-x11-2.0;-lpangocairo-1.0;-latk-1.0;-lcairo;-lgdk_pixbuf-2.0;-lgio-2.0;-lpangoft2-1.0;-lpango-1.0;-lgobject-2.0;-lglib-2.0;-lfontconfig;-lfreetype;-lpng;-lz;-ljpeg;-lwxregexu-3.1;-lwxtiff-3.1;-lz;-ldl;-lm (found version "3.1.0") 
-- Copying /home/john/SDR_Dev/CubicSDR/font/*.fnt to directory /home/john/SDR_Dev/CubicSDR/build/x64/fonts
-- Configuring file vera_sans_mono36.fnt
-- Configuring file vera_sans_mono48.fnt
-- Configuring file vera_sans_mono18.fnt
-- Configuring file vera_sans_mono27.fnt
-- Configuring file vera_sans_mono16.fnt
-- Configuring file vera_sans_mono64.fnt
-- Configuring file vera_sans_mono24.fnt
-- Configuring file vera_sans_mono32.fnt
-- Configuring file vera_sans_mono12.fnt
-- Configuring file vera_sans_mono96.fnt
-- Configuring file vera_sans_mono72.fnt
-- Copying /home/john/SDR_Dev/CubicSDR/font/*.png to directory /home/john/SDR_Dev/CubicSDR/build/x64/fonts
-- Configuring file vera_sans_mono32_0.png
-- Configuring file vera_sans_mono24_0.png
-- Configuring file vera_sans_mono96_0.png
-- Configuring file vera_sans_mono12_0.png
-- Configuring file vera_sans_mono27_0.png
-- Configuring file vera_sans_mono72_0.png
-- Configuring file vera_sans_mono36_0.png
-- Configuring file vera_sans_mono16_0.png
-- Configuring file vera_sans_mono64_0.png
-- Configuring file vera_sans_mono48_0.png
-- Configuring file vera_sans_mono18_0.png
-- Copying /home/john/SDR_Dev/CubicSDR/icon/CubicSDR.ico to directory /home/john/SDR_Dev/CubicSDR/build/x64
-- Configuring file CubicSDR.ico
-- Configuring done
-- Generating done
-- Build files have been written to: /home/john/SDR_Dev/CubicSDR/build
john@Mint-18 ~/SDR_Dev/CubicSDR/build $ make
Scanning dependencies of target CubicSDR
[  1%] Building CXX object CMakeFiles/CubicSDR.dir/external/rtaudio/RtAudio.cpp.o
/home/john/SDR_Dev/CubicSDR/external/rtaudio/RtAudio.cpp:8097:25: fatal error: pulse/error.h: No such file or directory
compilation terminated.
CMakeFiles/CubicSDR.dir/build.make:62: recipe for target 'CMakeFiles/CubicSDR.dir/external/rtaudio/RtAudio.cpp.o' failed
make[2]: *** [CMakeFiles/CubicSDR.dir/external/rtaudio/RtAudio.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/CubicSDR.dir/all' failed
make[1]: *** [CMakeFiles/CubicSDR.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
I struggled a bit with that one. So what now? Any help would be appreciated.

Reason: No reason

deadite66
Posts: 32
Joined: Mon Jan 23, 2017 7:14 pm
Location: Norfolk, UK.

Re: SDRuno on Linux

Post by deadite66 » Fri Feb 24, 2017 1:59 pm

Code: Select all

fatal error: pulse/error.h: No such file or directory
is libpulse-dev installed?

Reason: No reason
RSP2 Pro and RSP1A owner.

octave9
Posts: 59
Joined: Sun Feb 19, 2017 7:54 pm

Re: SDRuno on Linux

Post by octave9 » Fri Feb 24, 2017 2:22 pm

deadite66 wrote:

Code: Select all

fatal error: pulse/error.h: No such file or directory
is libpulse-dev installed?
It is now and building :) 45%...

Many thanks.

Builds, installs and runs, but no time to test 'till later...

Reason: No reason

deadite66
Posts: 32
Joined: Mon Jan 23, 2017 7:14 pm
Location: Norfolk, UK.

Re: SDRuno on Linux

Post by deadite66 » Sat Feb 25, 2017 7:18 pm

nice :)

Reason: No reason
RSP2 Pro and RSP1A owner.

Winston Legthigh
Posts: 2
Joined: Wed Oct 17, 2018 10:51 pm

Re: SDRuno on Linux

Post by Winston Legthigh » Sat Oct 20, 2018 1:17 pm

Any possibilty there are simple instructions on how to load uno? I'm using Linux Ubuntu 18.04 and I struggle my way through not knowing much about anything but I have gotten a few things working like FT8 in the past. Well, now that I've spent a bunch of money on this SDRPlay, I'm really invested in getting it to work. But, I don't know what a "build" is. I don't even know what a WX widget is. All I know is I hate Windows. I have a problem remembering what I've read because of ADHD issues so long drawn out lists of information just stump me. I'm sorry if this is too much of a request. It took me hours to write this. I would really love to get this working.
Last edited by Winston Legthigh on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

Tech_Support
Posts: 499
Joined: Mon Jun 01, 2015 7:00 pm

Re: SDRuno on Linux

Post by Tech_Support » Sat Oct 20, 2018 4:33 pm

Hello Winston,
I'm sorry, but SDRuno does not run under Linux. It is currently Windows only. For Linux, you will need to look at Cubic SDR or GQRX. Unfortunately, with Linux, very few applications can be simply installed and run like they can under Windows. It is often necessary to compile (build) the applications from source code along with the various dependencies which can be time consuming and tricky.

Sincerely

Tech_Support

Reason: No reason

Winston Legthigh
Posts: 2
Joined: Wed Oct 17, 2018 10:51 pm

Re: SDRuno on Linux

Post by Winston Legthigh » Sun Oct 21, 2018 3:58 pm

Thank you very much.
I'll try Cubic.
Last edited by Winston Legthigh on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

UT4NJ
Posts: 15
Joined: Thu Sep 27, 2018 2:14 pm

Re: SDRuno on Linux

Post by UT4NJ » Mon Oct 22, 2018 9:01 am

Similarly constantly do I use only Linux, I want to know SDRUNO is developed under Linux, is it possible to wait it? I have SDRPLAY RSP1A and want to purchase other SDRPLAY, but possibilities of Gqrx and Cubic are little. Thank you!!!

Reason: No reason

Post Reply