Closed josh64x2 closed 8 years ago
Hmm, SoapySDR includes it's own CMake find module; did you try checking 'Advanced' to see if the path shows there or did the CMake find module not get installed with brew SoapySDR?
When I start CubicSDR 0.1.11 from the command line it prints out the following:
SDR enumerator starting.
SoapySDR init..
API Version: v0.3.0-g9671ca26
ABI Version: v0.3-0
Install root: /usr/local
No modules found!
Loading modules... done
Available factories...null
Reporting enumeration complete.
SDR enumerator done.
Where is "Advanced" to check? I can't see that in CubicSDR...
Thanks!
Oh, sorry I see what you mean; SoapySDR actually lets you set "SOAPY_SDR_ROOT" environment variable. I think you can also set it on startup like:
ccliffe$ SOAPY_SDR_ROOT="/opt/local" CubicSDR
Excellent - Thanks!
SDR enumerator starting.
SoapySDR init..
API Version: v0.3.0-g9671ca26
ABI Version: v0.3-0
Install root: /opt/homebrew
Module found: /opt/homebrew/lib/SoapySDR/modules/librtlsdrSupport.so
Loading modules... done
Available factories...null, rtlsdr
Looks good, I'll add an option in CubicSDR to set that from the devices dialog and save it in the config; thanks for your help!
Kept this fairly simple; in latest commit to master SoapySDR module path can be specified with -m
Otherwise by default (with the next bundled release) installed modules at SOAPY_SDR_ROOT will be used first; followed by any bundled device modules.
On OS X, if you have installed SoapySDR and modules in a location other than
/usr/local/
(e.g. you used homebrew to install SoapySDR and you've installed homebrew in/opt/
), CubicSDR fails to find the SDR devices. It would be great to be able to define the installation path for SoapySDR and modules.