WIP updated Windows build instructions (4)

Vincent Sonnier 2018-05-18 10:59:05 +02:00
parent 3c61d9d004
commit bb5779b97f

@ -121,16 +121,14 @@ Either way, copy the files `rtlsdr.dll` and `libusb-1.0.dll` in the `C:\MSVCDev\
## SoapyRTLSDR ## SoapyRTLSDR
* Clone or download ZIP from https://github.com/pothosware/SoapyRTLSDR to C:\MSVCDev\SoapyRTLSDR * Clone or download ZIP from https://github.com/pothosware/SoapyRTLSDR to C:\MSVCDev\SoapyRTLSDR
* Go to [librtlsdr Releases](https://github.com/librtlsdr/librtlsdr/releases) page and download the "x64" version, then unpack it to C:\MSVCDev\rtl-sdr-release\
* Copy C:\MSVCDev\rtl-sdr-release\x64\libusb-1.0.dll and C:\MSVCDev\rtl-sdr-release\x64\rtlsdr.dll to C:\Program Files\SoapySDR\bin
* Launch CMake, set source path to C:/MSVCDev/SoapyRTLSDR/ * Launch CMake, set source path to C:/MSVCDev/SoapyRTLSDR/
* Set destination to C:/MSVCDev/SoapyRTLSDR_win64/ * Set destination to C:/MSVCDev/SoapyRTLSDR_win64/
* Click "Configure" and choose "Visual Studio 14 2015 Win64" and Finish * Click "Configure" and choose "Visual Studio 15 2017 Win64" and Finish
* Set RTLSDR_INCLUDE_DIR to C:/MSVCDev/rtl-sdr-release/ * Set RTLSDR_INCLUDE_DIR to C:/MSVCDev/librtlsdr/include
* Set RTLSDR_LIBRARY to C:/MSVCDev/rtl-sdr-release/x64/rtlsdr.lib * Set RTLSDR_LIBRARY to C:/MSVCDev/librtlsdr_win64/x64/rtlsdr.lib
* Click "Configure" again and then click "Generate" * Click "Configure" again and then click "Generate"
Open "Developer Command Prompt for VS2015" by right-clicking and "Run as Administrator". Open "Developer Command Prompt for VS2017" by right-clicking and "Run as Administrator".
From the prompt: From the prompt: