diff --git a/ReadmeWindowsBuild.md b/ReadmeWindowsBuild.md index d81e4c3fd..3e91724d9 100644 --- a/ReadmeWindowsBuild.md +++ b/ReadmeWindowsBuild.md @@ -91,6 +91,27 @@ You need to download the 1.5.1 version specifically that is found [here](https:/ - `plugins\samplesource\bladerf\bladerf.pro`. Update the following line with the location of your BladeRF installation: - `CONFIG(MINGW32):LIBBLADERFSRC = "D:\softs\bladeRF\host\libraries\libbladeRF\include"` +

Libiio library (libiio) for PlutoSDR

+ +This is needed for PlutoSDR support. It is found [here](https://github.com/analogdevicesinc/libiio) Clone it in `D:\softs` so that the source directory is `D:\softs\libiio`. The source path is declared in libiio.pro, devices.pro and plutosdrinput.pro: + + - `CONFIG(MINGW32):LIBIIOSRC = "D:\softs\libiio"` + - `CONFIG(MINGW64):LIBIIOSRC = "D:\softs\libiio"` + +Libiio has specific dependencies that should be installed. Copy commands are part of the installation bat files. You will find archives of the needed files [here](http://xmlsoft.org/sources/win32/). Relevant files are: + +For win32: + +iconv-1.9.2.win32.zip, libxml2-2.7.8.win32.zip, zlib-1.2.5.win32.zip. Unzip them in `D:\softs` so that the dlls can be found by the installation script at: + + - `D:\softs\iconv-1.9.2.win32\bin\iconv.dll` + - `D:\softs\libxml2-2.7.8.win32\bin\libxml2.dll` + - `D:\softs\zlib-1.2.5\bin\zlib1.dll` + +For win64: + +First cd to the `64bit` subdirectory. Then download `libxml2-2.9.3-win32-x86_64.7z` and unzip it in `D:\softs` so that the dlls can be found by the installation script at `D:\softs\libxml2-2.9.3-win32-x86_64\bin\libxml2-2.dll` +

Dependencies for DSD (Digital Speech Decoding) plugin

mbelib

diff --git a/windows.install.bat b/windows.install.bat index 58b32270f..93dc06f7d 100644 --- a/windows.install.bat +++ b/windows.install.bat @@ -1,6 +1,8 @@ SET libusbdir="D:\softs\libusb-1.0.20\MinGW32" SET opencvdir="D:\softs\opencv\build\mw32\install\x86\mingw\bin" SET libxml2dir="D:\softs\libxml2-2.7.8.win32" +SET libiconvdir="D:\softs\iconv-1.9.2.win32" +SET libzlib1dir="D:\softs\zlib-1.2.5" copy app\%1\sdrangel.exe %2 copy sdrbase\%1\sdrbase.dll %2 @@ -18,6 +20,8 @@ copy liblimesuite\%1\liblimesuite.dll %2 copy libiio\%1\libiio.dll %2 copy %libusbdir%\dll\libusb-1.0.dll %2 copy %libxml2dir%\bin\libxml2.dll %2 +copy %libiconvdir%\bin\iconv.dll %2 +copy %libzlib1dir%\bin\zlib1.dll %2 copy %opencvdir%\opencv_ffmpeg2413.dll %2 copy %opencvdir%\libopencv_imgproc2413.dll %2 copy %opencvdir%\libopencv_highgui2413.dll %2