Updated SDRPlay module instructions to use the API v3.x version

Vincent Sonnier 2020-11-14 09:43:56 +01:00
parent 81971c7852
commit bdaaf07873
1 changed files with 10 additions and 6 deletions

@ -203,16 +203,16 @@ C:\MSVCDEV> cmake --build SoapyRTLSDR_win64 --config Release --target install
Copy the generated module file `rtlsdrSupport.dll` in the `C:\MSVCDev\CubicSDR_win64\x64\modules` directory where CubicSDR can find it.
## SoapySDRPlay
* First, download the "API/HW Driver v2.x" version (NOT the v3.x one !) from https://www.sdrplay.com/downloads/ and install it with defaults.
* Clone or download ZIP from https://github.com/pothosware/SoapySDRPlay to `C:\MSVCDev\SoapySDRPlay`
* First, go to https://www.sdrplay.com/downloads/, select your device and Windows version of choice, and go to the "API" download section : choose the "API/HW Driver 3.x" version and install it with defaults.
* Clone or download ZIP from https://github.com/SDRplay/SoapySDRPlay to `C:\MSVCDev\SoapySDRPlay`
* Launch CMake, set source path to `C:/MSVCDev/SoapySDRPlay`
* Set destination to `C:/MSVCDev/SoapySDRPlay_win64`
* Click Configure.
* Choose "Visual Studio 16 2019" as `Specify the generator for this project` and "x64" as `Optional platform for generator` then click Finish.
* Set CMAKE_INSTALL_PREFIX to `C:/MSVCDev/SoapySDR_win64_install`
* Set CMAKE_INSTALL_PREFIX to `C:\MSVCDev\SoapySDR_win64_install`
* Click "Configure" again
* Set LIBSDRPLAY_INCLUDE_DIRS to `C:/Program Files/SDRplay/API/inc`
* Set LIBSDRPLAY_LIBRARIES to `C:/Program Files/SDRplay/API/x64/mir_sdr_api.lib`
* Set LIBSDRPLAY_INCLUDE_DIRS to `C:\Program Files\SDRplay\API\inc`
* Set LIBSDRPLAY_LIBRARIES to `C:\Program Files\SDRplay\API\x64\sdrplay_api.lib`
* Click "Configure" again and then click "Generate"
Open "Developer Command Prompt for VS 2019" by right-clicking and "Run as Administrator".
@ -231,7 +231,11 @@ C:\MSVCDEV> cmake --build SoapySDRPlay_win64 --config Release --target install
Copy the generated module file `sdrPlaySupport.dll` in the `C:\MSVCDev\CubicSDR_win64\x64\modules` directory where CubicSDR can find it.
Don't forget to also copy the `C:\Program Files\SDRplay\API\x64\mir_sdr_api.dll` library file in the `C:\MSVCDev\CubicSDR_win64\x64` directory where CubicSDR can find it.
Don't forget to also copy the `C:\Program Files\SDRplay\API\x64\sdrplay_api.dll` library file in the `C:\MSVCDev\CubicSDR_win64\x64` directory where CubicSDR can find it.
Notes:
- After installing the API driver v3.x for the first time, you may need to reboot your computer to have your device detected properly.
- Sometimes the device detection fails in CubicSDR : you can then restart the driver by running `RestartService.bat` (Right-Click > Run as Administrator) located in `C:\Program Files\SDRplay\`
# Debugging CubicSDR