pothosware / SoapySDR

Vendor and platform neutral SDR support library.

Home Page:https://github.com/pothosware/SoapySDR/wiki

Repository from Github https://github.compothosware/SoapySDRRepository from Github https://github.compothosware/SoapySDR

Installing modules for latest ABI version

israelgoldstein opened this issue · comments

SoapySDRUtil --info
######################################################

Soapy SDR -- the SDR abstraction library

######################################################

Lib Version: v0.8.1-gbb33b2d2
API Version: v0.8.200
ABI Version: v0.8-3
Install root: /usr/local
Search path: /usr/local/lib/SoapySDR/modules0.8-3 (missing)
No modules found!
Available factories... No factories found!
Available converters...

  • CF32 -> [CF32, CS16, CS8, CU16, CU8]
  • CS16 -> [CF32, CS16, CS8, CU16, CU8]
  • CS32 -> [CS32]
  • CS8 -> [CF32, CS16, CS8, CU16, CU8]
  • CU16 -> [CF32, CS16, CS8]
  • CU8 -> [CF32, CS16, CS8]
  • F32 -> [F32, S16, S8, U16, U8]
  • S16 -> [F32, S16, S8, U16, U8]
  • S32 -> [S32]
  • S8 -> [F32, S16, S8, U16, U8]
  • U16 -> [F32, S16, S8]
  • U8 -> [F32, S16, S8]

i cant find my airspy,
what am i missing?

You need modules, see e.g. #401

Note the path is /usr/local/lib/SoapySDR/modules0.8-3 I would have thought it to be /usr/local/lib/SoapySDR/modules0.8?

@ncorgan Is this possibly a bug with some recent build system change?

I had to compile the modules we wanted to use with the latest ABI version 0.8-3 of SoapySDR to get them to work.

For my use case with C# bindings this was the only way since ABI v0.8 does not have the C# bindings.

When doing so make sure to set the SOAPY_SDR_ROOT environment variable to the install CMAKE_INSTALL_PREFIX value.

You could also check my github repo :
https://github.com/Psynosaur/SoapySDR-FFT-GUI/tree/main/SoapySDRFFTGUI/Resources/SoapySDR/lib/SoapySDR/modules0.8-3

Airspy is in there.

[Edit] I see you're on a non Windows OS, im unsure if those dlls would suffice.
You could also just compile the 0.8.0 tag and use the prebuilt modules which are on 0.8.0 from
https://github.com/pothosware/SoapySDR/releases/tag/soapy-sdr-0.8.0

@zuckschwerdt As you saw with the different paths, modules install in per-directory locations for safety. ABI bumps are sometimes common on master (as opposed to stable releases), so this will come up on occasion.