diff --git a/Build-Windows.md b/Build-Windows.md index 5c31a17..653317a 100644 --- a/Build-Windows.md +++ b/Build-Windows.md @@ -45,7 +45,8 @@ Download ZIP or clone SoapySDR from https://github.com/pothosware/SoapySDR to `C * Launch CMake, set source path to `C:/MSVCDev/SoapySDR/` * Set destination to `C:/MSVCDev/SoapySDR_win64/` * Click "Configure" and choose "Visual Studio 15 2017 Win64" and Finish -* Set SOAPY_SDR_ROOT to `C:/MSVCDev/SoapySDR_win64/` +* Set CMAKE_INSTALL_PREFIX to `C:/MSVCDev/SoapySDR_install` +* Set SOAPY_SDR_ROOT to `C:/MSVCDev/SoapySDR_install` * Click Configure again, all should be good, then Generate. Open "Developer Command Prompt for VS2017" by right-clicking and "Run as Administrator". @@ -155,6 +156,8 @@ Copy the file `rtlsdr.dll` in the `C:\MSVCDev\CubicSDR_win64\x64` directory wher * Launch CMake, set source path to `C:/MSVCDev/SoapyRTLSDR/` * Set destination to `C:/MSVCDev/SoapyRTLSDR_win64` * Click "Configure" and choose "Visual Studio 15 2017 Win64" and Finish +* Set CMAKE_INSTALL_PREFIX to `C:/MSVCDev/SoapySDR_install` +* Click "Configure" again * Set RTLSDR_INCLUDE_DIR to `C:/MSVCDev/librtlsdr/include` * Set RTLSDR_LIBRARY to `C:/MSVCDev/librtlsdr_win64/src/Release/rtlsdr.lib` * Click "Configure" again and then click "Generate" @@ -178,10 +181,10 @@ Copy the generated module file `rtlsdrSupport.dll` in the `C:\MSVCDev\CubicSDR_w * Launch CMake, set source path to `C:/MSVCDev/SoapySDRPlay` * Set destination to `C:/MSVCDev/SoapySDRPlay_win64` * Click "Configure" and choose "Visual Studio 15 2017 Win64" and Finish +* Set CMAKE_INSTALL_PREFIX to `C:/MSVCDev/SoapySDR_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 SOAPY_SDR_INCLUDE_DIR to `C:/MSVCDev/SoapySDR/include` -* Set SOAPY_SDR_LIBRARY to `C:/MSVCDev/SoapySDR_win64/lib/Release/SoapySDR.lib` * Click "Configure" again and then click "Generate" Open "Developer Command Prompt for VS2017" by right-clicking and "Run as Administrator".