1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-09-27 15:26:33 -04:00

PlutoSDR: completed win32 support

This commit is contained in:
f4exb 2017-09-12 15:06:09 +02:00
parent 07cd0483cc
commit c59b04a68f
2 changed files with 25 additions and 0 deletions

View File

@ -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"`
<h4>Libiio library (libiio) for PlutoSDR</h4>
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`
<h3>Dependencies for DSD (Digital Speech Decoding) plugin</h3>
<h4>mbelib</h4>

View File

@ -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