SDRuno on Linux

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

Re: SDRuno on Linux

Postby 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: 58
Joined: Sun Feb 19, 2017 7:54 pm

Re: SDRuno on Linux

Postby 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: 58
Joined: Sun Feb 19, 2017 7:54 pm

Re: SDRuno on Linux

Postby 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: 18
Joined: Mon Jan 23, 2017 7:14 pm
Location: Norfolk, UK.

Re: SDRuno on Linux

Postby 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
Airspy R2 on a Discone
RSP2 Pro on a Scanmaster B1300-N and a cheap telescopic dipole from aliexpress.
Windows 10 and Antergos Linux.
Yupiteru MVT-9000 MKII telescopic ant.

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

Re: SDRuno on Linux

Postby 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: 18
Joined: Mon Jan 23, 2017 7:14 pm
Location: Norfolk, UK.

Re: SDRuno on Linux

Postby deadite66 » Sat Feb 25, 2017 7:18 pm

nice :)

Reason: No reason
Airspy R2 on a Discone
RSP2 Pro on a Scanmaster B1300-N and a cheap telescopic dipole from aliexpress.
Windows 10 and Antergos Linux.
Yupiteru MVT-9000 MKII telescopic ant.


Return to “New Users' experiences”

Who is online

Users browsing this forum: No registered users and 1 guest