ryanvolz / radioconda

Software radio distribution and installer for conda
Other
436 stars 46 forks source link

SDRplay support for Windows #41

Open DeonMarais64 opened 2 years ago

DeonMarais64 commented 2 years ago

Hi, From https://github.com/ryanvolz/radioconda/issues/29 I was able to build and install sdrPlaySupport.dll to the modules directory However, it looks like there is still something missing. Any suggestions on how to resolve it ?

(base) C:\Users\deon>SoapySDRUtil --info
######################################################
##     Soapy SDR -- the SDR abstraction library     ##
######################################################

Lib Version: v0.8.1-3
API Version: v0.8.0
ABI Version: v0.8
Install root: C:\Programs\Radio\GNURadio\radioconda\Library
Search path:  C:\Programs\Radio\GNURadio\radioconda\Library/lib/SoapySDR/modules0.8
Module found: C:\Programs\Radio\GNURadio\radioconda\Library/lib/SoapySDR/modules0.8/airspyhfSupport.dll (0.2.0)
Module found: C:\Programs\Radio\GNURadio\radioconda\Library/lib/SoapySDR/modules0.8/airspySupport.dll   (0.2.0)
Module found: C:\Programs\Radio\GNURadio\radioconda\Library/lib/SoapySDR/modules0.8/bladeRFSupport.dll  (0.4.1)
Module found: C:\Programs\Radio\GNURadio\radioconda\Library/lib/SoapySDR/modules0.8/HackRFSupport.dll   (0.3.4)
Module found: C:\Programs\Radio\GNURadio\radioconda\Library/lib/SoapySDR/modules0.8/LMS7Support.dll     (22.09.0)
Module found: C:\Programs\Radio\GNURadio\radioconda\Library/lib/SoapySDR/modules0.8/PlutoSDRSupport.dll (0.2.1)
Module found: C:\Programs\Radio\GNURadio\radioconda\Library/lib/SoapySDR/modules0.8/remoteSupport.dll   (0.5.2)
Module found: C:\Programs\Radio\GNURadio\radioconda\Library/lib/SoapySDR/modules0.8/rtlsdrSupport.dll   (0.3.0)
Module found: C:\Programs\Radio\GNURadio\radioconda\Library/lib/SoapySDR/modules0.8/sdrPlaySupport.dll
  LoadLibrary() failed: The specified module could not be found.

Module found: C:\Programs\Radio\GNURadio\radioconda\Library/lib/SoapySDR/modules0.8/uhdSupport.dll      (0.4.1)
Available factories... airspy, airspyhf, bladerf, hackrf, lime, plutosdr, remote, rtlsdr, uhd
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]

Many Thanks

ryanvolz commented 2 years ago

Just guessing, but it's probably not finding the sdrPlay library from your base system that, of course, sdrPlaySupport.dll depends on. Maybe try copying that library from wherever it is into C:\Programs\Radio\GNURadio\radioconda\Library\bin?

DeonMarais64 commented 2 years ago

Thank you, I tried to do as you suggested, however I am still getting an error albeit a different one,

Before copying any version of sdrplay_api.dll into C:\Programs\Radio\GNURadio\radioconda\Library\bin

Module found: C:\Programs\Radio\GNURadio\radioconda\Library/lib/SoapySDR/modules0.8/sdrPlaySupport.dll
  LoadLibrary() failed: The specified module could not be found.

After placing "C:\Program Files\SDRplay\API\x64\sdrplay_api.dll" into C:\Programs\Radio\GNURadio\radioconda\Library\bin

Module found: C:\Programs\Radio\GNURadio\radioconda\Library/lib/SoapySDR/modules0.8/sdrPlaySupport.dll
  LoadLibrary() failed: A dynamic link library (DLL) initialization routine failed.

Then I tried the x86 version of the library, After placing "C:\Program Files\SDRplay\API\x86\sdrplay_api.dll" into C:\Programs\Radio\GNURadio\radioconda\Library\bin

Module found: C:\Programs\Radio\GNURadio\radioconda\Library/lib/SoapySDR/modules0.8/sdrPlaySupport.dll
  LoadLibrary() failed: %1 is not a valid Win32 application.