SDRPlay with GQRX

2,100 views
Skip to first unread message

Rusty

unread,
Mar 5, 2016, 7:36:49 PM3/5/16
to Gqrx SDR
SDRPlay on Xubuntu 15.10

Soapy is installed correctly and recognizes SDRPlay plugged into the USB port.

ted@OldDog:~$ SoapySDRUtil --info
######################################################
## Soapy SDR -- the SDR abstraction library
######################################################

API Version: v0.4.0-gd17177f3
ABI Version: v0.4-2
Install root: /usr/local
Module found: /usr/local/lib/SoapySDR/modules/libsdrPlaySupport.so
Loading modules... done
Available factories...null, sdrplay,

GQRX:  Kills the SoapySDR driver.
GQRX runs, but gets an error on the USB port with or without the -DENABLE_NONFREE=TRUE build option for gr-osmosdr.  Currently flags a configuration error when started.   While building gr-osmosdr does not show sdrplay as enabled during cmake and Help About Gqrx does not list SDRPlay.  What am I doing wrong? 

ted@OldDog:~$ SoapySDRUtil --probe=sdrplay
######################################################
## Soapy SDR -- the SDR abstraction library
######################################################

Probe device sdrplay
mir_sdr_Init: starting hardware initialization
mir_sdr_Init: gR=40dB fs=2.048MHz rf=222.064MHz bw=1.536MHz if=0.000MHz

mir_sdr_usb_USB DLL: Revision 0.1.1

Warning: libusb_claim_interface() -6

Error: kernel driver not active - should have been able to claim interface!

mir_sdr_usb_Init: Timeout expired/failed to establish connection with the device

mir_sdr_2500_Init: mir_sdr_usb_Init() failed
mir_sdr_Init: mir_sdr_2500_Init() Error 1

----------------------------------------------------
-- Device identification
----------------------------------------------------
  driver=null
  hardware=null

----------------------------------------------------
-- Peripheral summary
----------------------------------------------------
  Channels: 0 Rx, 0 Tx
  Timestamps: NO


David Ranch

unread,
Mar 5, 2016, 7:45:08 PM3/5/16
to Gqrx SDR


I think this thread addresses your issue.  You need to blacklist the stock kernel driver in favor of the aftermarket binary-only driver:

   http://www.sdrplay.com/community/viewtopic.php?t=521

--David
KI6ZHD

Rusty

unread,
Mar 5, 2016, 8:24:56 PM3/5/16
to Gqrx SDR
Thanks David

But I had already blacklisted the 2 drivers mis001 and msi2500. 
Message has been deleted
Message has been deleted

AndreaVi

unread,
Mar 6, 2016, 6:02:50 AM3/6/16
to Gqrx SDR


Gqrx hardware detection/support relies on gr-osmosdr only; first of all you should figure out why gr-osmosdr fails to compile with sdrplay support enabled; leave soapysdr alone for the time being. I (un)fortunately do not own a sdrplay so I can only guess, but I can compile gr-osmosdr on ubuntu with sdrplay enabled following these steps (this is what you already did, i think...):

download sdrplay library installer from their website

cd to downloaded installer dir
chmod 755 SDRplay_RSP_MiricsAPI-1.9.4.run
 ./SDRplay_RSP_MiricsAPI-1.9.4.run

it will ask for root password and install driver and libraries

git clone git://git.osmocom.org/gr-osmosdr
cd gr-osmosdr/
mkdir build
cd build
cmake .. -DENABLE_NONFREE=true

Now, do not make/install, look at the output of cmake and post it here... see if we can help

Rusty

unread,
Mar 6, 2016, 3:08:57 PM3/6/16
to Gqrx SDR
For the first time since I knew to look for it SDRPlay shows up in the output

I was compiling many gr-osmosdr(s);  gr-osmosdr-master which was to have SDRPlay built in, and gr-osmosdr-0.1.4 which I thought was the most current.  I followed your instructions implicitly and now see SDRPlay enabled.   As I've had so much head ache I'll cointinue to follow your instructions and not do the make/install in the event you see something more.

ted@OldDog:~/Downloads/gr-osmosdr/build$ cmake .. -DENABLE_NONFREE=true
-- The CXX compiler identification is GNU 5.2.1
-- The C compiler identification is GNU 5.2.1
-- 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
-- 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
-- Build type not specified: defaulting to release.
-- Found Git: /usr/bin/git (found version "2.5.0")
-- Extracting version information from git describe...
-- Configuring Boost C++ Libraries...
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   thread
--   system
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
Checking for GNU Radio Module: RUNTIME
-- checking for module 'gnuradio-runtime'
--   found gnuradio-runtime, version 3.7.10git
 * INCLUDES=/usr/local/include
 * LIBS=/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so
-- Found GNURADIO_RUNTIME: /usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so 
GNURADIO_RUNTIME_FOUND = TRUE
Checking for GNU Radio Module: BLOCKS
-- checking for module 'gnuradio-blocks'
--   found gnuradio-blocks, version 3.7.10git
 * INCLUDES=/usr/local/include
 * LIBS=/usr/local/lib/libgnuradio-blocks.so;/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so
-- Found GNURADIO_BLOCKS: /usr/local/lib/libgnuradio-blocks.so;/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so 
GNURADIO_BLOCKS_FOUND = TRUE
Checking for GNU Radio Module: PMT
-- checking for module 'gnuradio-runtime'
--   found gnuradio-runtime, version 3.7.10git
 * INCLUDES=/usr/local/include
 * LIBS=/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so
-- Found GNURADIO_PMT: /usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so 
GNURADIO_PMT_FOUND = TRUE
-- checking for module 'gnuradio-iqbalance'
--   package 'gnuradio-iqbalance' not found
-- Could NOT find GNURADIO_IQBALANCE (missing:  GNURADIO_IQBALANCE_INCLUDE_DIRS)
-- checking for module 'uhd'
--   package 'uhd' not found
-- checking for module 'gnuradio-uhd'
--   found gnuradio-uhd, version 3.7.9
-- Found gnuradio-uhd: /usr/include, /usr/lib/x86_64-linux-gnu/libgnuradio-uhd.so
-- Found GNURADIO_UHD: /usr/lib/x86_64-linux-gnu/libgnuradio-uhd.so 
-- checking for module 'gnuradio-fcd'
--   found gnuradio-fcd, version 3.7.10git
-- Found gnuradio-fcd: /usr/local/include, /usr/local/lib/libgnuradio-fcd.so
-- Found GNURADIO_FCD: /usr/local/lib/libgnuradio-fcd.so 
-- checking for module 'gnuradio-fcdproplus'
--   package 'gnuradio-fcdproplus' not found
-- Found gnuradio-fcdproplus: /usr/include, /usr/lib/x86_64-linux-gnu/libgnuradio-fcdproplus.so
-- Found GNURADIO_FCDPP: /usr/lib/x86_64-linux-gnu/libgnuradio-fcdproplus.so 
-- checking for module 'libosmosdr'
--   package 'libosmosdr' not found
-- libosmosdr not found.
-- checking for module 'librtlsdr'
--   found librtlsdr, version 0.5.3
-- Found librtlsdr: /usr/include, /usr/lib/x86_64-linux-gnu/librtlsdr.so
-- checking for module 'libmirisdr'
--   package 'libmirisdr' not found
-- libmirisdr not found.
-- checking for module 'libsdrplay'
--   package 'libsdrplay' not found
-- Found libsdrplay: /usr/local/include, /usr/local/lib/libmirsdrapi-rsp.so
-- checking for module 'libhackrf'
--   package 'libhackrf' not found
-- Could NOT find LIBHACKRF (missing:  LIBHACKRF_LIBRARIES LIBHACKRF_INCLUDE_DIRS)
-- checking for module 'libairspy'
--   package 'libairspy' not found
-- Could NOT find LIBAIRSPY (missing:  LIBAIRSPY_LIBRARIES LIBAIRSPY_INCLUDE_DIRS)
-- checking for module 'libbladeRF'
--   package 'libbladeRF' not found
-- libbladeRF not found.
-- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE)
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found suitable version "2.7.10", minimum required is "2")
--
-- Checking for module SWIG
-- Disabling SWIG because version check failed.
--
-- The build system will automatically enable all components.
-- Use -DENABLE_DEFAULT=OFF to disable components by default.
--
-- Configuring Python support support...
--   Dependency PYTHONLIBS_FOUND = TRUE
--   Dependency SWIG_FOUND = FALSE
--   Dependency SWIG_VERSION_CHECK = FALSE
--   Disabling Python support support.
--   Override with -DENABLE_PYTHON=ON/OFF
--
-- Configuring high resolution timing...
-- Performing Test HAVE_CLOCK_GETTIME
-- Performing Test HAVE_CLOCK_GETTIME - Success
-- Performing Test HAVE_MACH_ABSOLUTE_TIME
-- Performing Test HAVE_MACH_ABSOLUTE_TIME - Failed
-- Performing Test HAVE_QUERY_PERFORMANCE_COUNTER
-- Performing Test HAVE_QUERY_PERFORMANCE_COUNTER - Failed
--   High resolution timing supported through clock_gettime.
--
-- Configuring Osmocom IQ Imbalance Correction support...
--   Dependency GNURADIO_IQBALANCE_FOUND = FALSE
--   Disabling Osmocom IQ Imbalance Correction support.
--   Override with -DENABLE_IQBALANCE=ON/OFF
--
-- Configuring sysmocom OsmoSDR support...
--   Dependency LIBOSMOSDR_FOUND = FALSE
--   Disabling sysmocom OsmoSDR support.
--   Override with -DENABLE_OSMOSDR=ON/OFF
--
-- Configuring FUNcube Dongle support...
--   Dependency GNURADIO_FCD_FOUND = TRUE
--   Enabling FUNcube Dongle support.
--   Override with -DENABLE_FCD=ON/OFF
--
-- Configuring FUNcube Dongle Pro+ support...
--   Dependency GNURADIO_FCDPP_FOUND = TRUE
--   Enabling FUNcube Dongle Pro+ support.
--   Override with -DENABLE_FCDPP=ON/OFF
--
-- Configuring IQ File Source & Sink support...
--   Dependency GNURADIO_BLOCKS_FOUND = TRUE
--   Enabling IQ File Source & Sink support.
--   Override with -DENABLE_FILE=ON/OFF
--
-- Configuring Osmocom RTLSDR support...
--   Dependency LIBRTLSDR_FOUND = TRUE
--   Enabling Osmocom RTLSDR support.
--   Override with -DENABLE_RTL=ON/OFF
--
-- Configuring RTLSDR TCP Client support...
--   Dependency GNURADIO_BLOCKS_FOUND = TRUE
--   Enabling RTLSDR TCP Client support.
--   Override with -DENABLE_RTL_TCP=ON/OFF
--
-- Configuring Ettus USRP Devices support...
--   Dependency UHD_FOUND = 0
--   Dependency GNURADIO_UHD_FOUND = TRUE
--   Disabling Ettus USRP Devices support.
--   Override with -DENABLE_UHD=ON/OFF
--
-- Configuring Osmocom MiriSDR support...
--   Dependency LIBMIRISDR_FOUND = FALSE
--   Disabling Osmocom MiriSDR support.
--   Override with -DENABLE_MIRI=ON/OFF
--
-- Configuring SDRplay RSP (NONFREE) support...
--   Dependency LIBSDRPLAY_FOUND = TRUE
--   Enabling SDRplay RSP (NONFREE) support.
--   Override with -DENABLE_SDRPLAY=ON/OFF

--
-- Configuring HackRF & rad1o Badge support...
--   Dependency LIBHACKRF_FOUND = FALSE
--   Disabling HackRF & rad1o Badge support.
--   Override with -DENABLE_HACKRF=ON/OFF
--
-- Configuring nuand bladeRF support...
--   Dependency LIBBLADERF_FOUND = FALSE
--   Disabling nuand bladeRF support.
--   Override with -DENABLE_BLADERF=ON/OFF
--
-- Configuring RFSPACE Receivers support...
--   Enabling RFSPACE Receivers support.
--   Override with -DENABLE_RFSPACE=ON/OFF
--
-- Configuring AIRSPY Receiver support...
--   Dependency LIBAIRSPY_FOUND = FALSE
--   Disabling AIRSPY Receiver support.
--   Override with -DENABLE_AIRSPY=ON/OFF
--
-- Configuring SoapySDR support support...
--   Dependency SoapySDR_FOUND = 1
--   Enabling SoapySDR support support.
--   Override with -DENABLE_SOAPY=ON/OFF
--
-- Configuring Red Pitaya SDR support...
--   Enabling Red Pitaya SDR support.
--   Override with -DENABLE_REDPITAYA=ON/OFF
--
-- ######################################################
-- # Gnuradio enabled components                        
-- ######################################################
--   * FUNcube Dongle
--   * FUNcube Dongle Pro+
--   * IQ File Source & Sink
--   * Osmocom RTLSDR
--   * RTLSDR TCP Client
--   * SDRplay RSP (NONFREE)
--   * RFSPACE Receivers
--   * SoapySDR support
--   * Red Pitaya SDR
--
-- ######################################################
-- # Gnuradio disabled components                       
-- ######################################################
--   * Python support
--   * Osmocom IQ Imbalance Correction
--   * sysmocom OsmoSDR
--   * Ettus USRP Devices
--   * Osmocom MiriSDR
--   * HackRF & rad1o Badge
--   * nuand bladeRF
--   * AIRSPY Receiver
--
-- NONFREE components have been enabled. The resulting
   binaries cannot be distributed under GPL terms.
 
-- Building for version: v0.1.4-72-g164a09fc / 0.1.5git
-- Using install prefix: /usr/local
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ted/Downloads/gr-osmosdr/build

AndreaVi

unread,
Mar 6, 2016, 6:34:23 PM3/6/16
to Gqrx SDR
It seems you are missing the swig library; this should be relevant only if you wish to use the osmosdr source in gnuradio companion; anyway, better safe than sorry, you can install swig from synaptic (it should be version 3.something). After that, cd in your /gr-osmosdr/build directory and delete everything before running cmake again (this is to get rid of previous cmake stuff); this time it should tell you "found swig... " etc. Now run make; uninstall your current gr-osmosdr (with synaptic if you have downloaded it from ubuntu repo); then sudo make install and sudo ldconfig (do not forget this or there will be lots of headaches). Now, assuming the usual kernel crap has been blacklisted and udev rules are set (as they should, since you were already seeing some vital signs from soapysdr), you can try to launch gqrx. At this point I have no idea of the string you'll have to input in the device configuration list, maybe something like sdrplay=0, better have a look at their forum.
Good luck for now...

Rusty

unread,
Mar 7, 2016, 3:00:29 PM3/7/16
to Gqrx SDR
Installed swig library.  ran uninstall of gr-osmosdr in synaptic and also ran make unistall for the gr-osmosdr*/build directories.  Ran make install and got the following compile error. Is something missing in the SoapySDR libraries or is there a version problem?  

And Thanks for your help.

ted@OldDog:~/Downloads/gr-osmosdr/build$ sudo make install
Scanning dependencies of target gnuradio-osmosdr
[  2%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/source_impl.cc.o
[  5%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/sink_impl.cc.o
[  8%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/ranges.cc.o
[ 11%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/device.cc.o
[ 14%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/time_spec.cc.o
[ 17%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/fcd/fcd_source_c.cc.o
[ 20%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/file/file_source_c.cc.o
[ 22%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/file/file_sink_c.cc.o
[ 25%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/rtl/rtl_source_c.cc.o
[ 28%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/rtl_tcp/rtl_tcp_source_f.cc.o
[ 31%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/rtl_tcp/rtl_tcp_source_c.cc.o
[ 34%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/sdrplay/sdrplay_source_c.cc.o
[ 37%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/rfspace/rfspace_source_c.cc.o
[ 40%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/soapy/soapy_source_c.cc.o
[ 42%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/soapy/soapy_sink_c.cc.o
[ 45%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/redpitaya/redpitaya_source_c.cc.o
[ 48%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/redpitaya/redpitaya_sink_c.cc.o
[ 51%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/redpitaya/redpitaya_common.cc.o
Linking CXX shared library libgnuradio-osmosdr-0.1.5git.so
CMakeFiles/gnuradio-osmosdr.dir/soapy/soapy_source_c.cc.o: In function `soapy_source_c::get_devices[abi:cxx11]()':
soapy_source_c.cc:(.text+0x2677): undefined reference to `SoapySDR::Device::enumerate(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&)'
CMakeFiles/gnuradio-osmosdr.dir/soapy/soapy_source_c.cc.o: In function `soapy_source_c::soapy_source_c(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
soapy_source_c.cc:(.text+0x33a5): undefined reference to `SoapySDR::Device::make(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&)'
CMakeFiles/gnuradio-osmosdr.dir/soapy/soapy_sink_c.cc.o: In function `soapy_sink_c::get_devices[abi:cxx11]()':
soapy_sink_c.cc:(.text+0x2337): undefined reference to `SoapySDR::Device::enumerate(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&)'
CMakeFiles/gnuradio-osmosdr.dir/soapy/soapy_sink_c.cc.o: In function `soapy_sink_c::soapy_sink_c(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
soapy_sink_c.cc:(.text+0x3068): undefined reference to `SoapySDR::Device::make(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&)'
collect2: error: ld returned 1 exit status
lib/CMakeFiles/gnuradio-osmosdr.dir/build.make:521: recipe for target 'lib/libgnuradio-osmosdr-0.1.5git.so.0.0.0' failed
make[2]: *** [lib/libgnuradio-osmosdr-0.1.5git.so.0.0.0] Error 1
CMakeFiles/Makefile2:121: recipe for target 'lib/CMakeFiles/gnuradio-osmosdr.dir/all' failed
make[1]: *** [lib/CMakeFiles/gnuradio-osmosdr.dir/all] Error 2
Makefile:126: recipe for target 'all' failed
make: *** [all] Error 2

AndreaVi

unread,
Mar 7, 2016, 5:26:37 PM3/7/16
to Gqrx SDR
It seems indeed that soapysdr is preventing gr-osmosdr git from compiling. I think, since you are interested in interfacing sdrplay directly with gr-osmosdr, that you can use option  -DENABLE_SOAPY= OFF (along with previous -DENABLE_NONFREE=true) and check what happens. Bear in mind that, since I do not own your hardware, I'm flying blind here; I do not think that gr-osmosdr will affect your existing soapysdr library/driver installation (it's the other way around, it seems), but there is no way to tell whether this will mess up soapysdr. Just for argument's sake... have you ever successfully used sdrplay on linux (cubicsdr maybe)? I was considering buying one sometimes ago, specs look interesting, but linux support seems really terrible.

Robert Luehrmann

unread,
Mar 8, 2016, 6:07:16 AM3/8/16
to Gqrx SDR

My sdrplay worked fine with CubicSDR on ubuntu/wily and debian/testing.  

Rusty

unread,
Mar 8, 2016, 9:22:24 PM3/8/16
to Gqrx SDR
Added the ENABLE_SOAPY=OFF got a new error which I have not been able to troubleshoot.

Linking CXX executable osmosdr_swig_swig_2d0df
Swig source
/home/ted/Downloads/gr-osmosdr/swig/osmosdr_swig.i:8: Error: Unable to find 'gnuradio.i'
swig/CMakeFiles/osmosdr_swig_swig_2d0df.dir/build.make:97: recipe for target 'swig/osmosdr_swig_swig_2d0df' failed
make[2]: *** [swig/osmosdr_swig_swig_2d0df] Error 1
CMakeFiles/Makefile2:249: recipe for target 'swig/CMakeFiles/osmosdr_swig_swig_2d0df.dir/all' failed
make[1]: *** [swig/CMakeFiles/osmosdr_swig_swig_2d0df.dir/all] Error 2

Makefile:126: recipe for target 'all' failed
make: *** [all] Error 2


Rusty

unread,
Mar 8, 2016, 9:24:56 PM3/8/16
to Gqrx SDR
After multiple attempts I have been wholly unable to compile CubicSDR I don know what the magic is.  An example of the compile error is:

ted@OldDog:~/Downloads/CubicSDR-0.1.20-alpha/build$ make
Scanning dependencies of target CubicSDR
[  1%] Building CXX object CMakeFiles/CubicSDR.dir/src/CubicSDR.cpp.o
In file included from /home/ted/Downloads/CubicSDR-0.1.20-alpha/src/demod/DemodulatorPreThread.h:8:0,
                 from /home/ted/Downloads/CubicSDR-0.1.20-alpha/src/demod/DemodulatorInstance.h:8,
                 from /home/ted/Downloads/CubicSDR-0.1.20-alpha/src/demod/DemodulatorMgr.h:7,
                 from /home/ted/Downloads/CubicSDR-0.1.20-alpha/src/visual/PrimaryGLContext.h:11,
                 from /home/ted/Downloads/CubicSDR-0.1.20-alpha/src/CubicSDR.h:10,
                 from /home/ted/Downloads/CubicSDR-0.1.20-alpha/src/CubicSDR.cpp:14:
/home/ted/Downloads/CubicSDR-0.1.20-alpha/src/demod/DemodulatorWorkerThread.h:30:5: error: ‘msresamp_crcf’ does not name a type
     msresamp_crcf iqResampler;

AndreaVi

unread,
Mar 9, 2016, 3:35:27 AM3/9/16
to Gqrx SDR
I have never seen this error before... there is something wrong with gnuradio on your system; the swig library I suggested to pull in to avoid trouble is causing trouble itself, it is actually trying yo build the correct gnuradio source but is missing gnuradio pieces (argh....); oh well, you can circumvent this by uninstalling swig and redoing cmake, but there must been some mess with underlying gnuradio installation that will sooner or later resurface. Have you installed gnuradio via a ppa or official ubuntu repos? This is really strange, because I can successfully build latest gr-osmosdr on ubuntu 15.10 following the same steps you did, and I get no errors, no complaints.
Reply all
Reply to author
Forward
0 new messages