Formatting, changes in Debugging CubicSDR section

Vincent Sonnier 2018-05-19 15:51:01 +02:00
parent e514a50967
commit d124d4c702

@ -166,7 +166,7 @@ C:\MSVCDEV> cmake --build SoapyRTLSDR_win64 --config Release --target install
... Bunch of building ...
0 Error(s)
```
Copy the generated module file `rtlsdrSupport.dll` in the C:\MSVCDev\CubicSDR_win64\x64\modules directory where CubicSDR can find it.
Copy the generated module file `rtlsdrSupport.dll` in the `C:\MSVCDev\CubicSDR_win64\x64\modules` directory where CubicSDR can find it.
## SoapySDRPlay
@ -192,13 +192,13 @@ C:\MSVCDEV> cmake --build SoapySDRPlay_win64 --config Release --target install
0 Error(s)
```
Copy the generated module file `sdrPlaySupport.dll` in the C:\MSVCDev\CubicSDR_win64\x64\modules directory where CubicSDR can find it.
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\mir_sdr_api.dll` library file in the `C:\MSVCDev\CubicSDR_win64\x64` directory where CubicSDR can find it.
# Debugging CubicSDR
Although all binaries are compiled in `Release`, it doesn't prevent debugging with it.
Although all binaries are compiled in `Release`, it doesn't prevent debugging CubicSDR itself. All you need to do is re-compiling CubicSDR with particular configuration and options, as follows:
In Visual Studio, select the `RelWithDebInfo` configuration. Then go to CubicSDR subproject Configuration Properties => C++ => Optimization and modify the following options:
* Optimization: Disabled (/Od)