diff --git a/libsdrplay/x64/mir_sdr_api.dll b/libsdrplay/x64/mir_sdr_api.dll new file mode 100644 index 000000000..6825c5f51 Binary files /dev/null and b/libsdrplay/x64/mir_sdr_api.dll differ diff --git a/libsdrplay/x64/mir_sdr_api.lib b/libsdrplay/x64/mir_sdr_api.lib new file mode 100644 index 000000000..6059c86e0 Binary files /dev/null and b/libsdrplay/x64/mir_sdr_api.lib differ diff --git a/libsdrplay/x86/mir_sdr_api.dll b/libsdrplay/x86/mir_sdr_api.dll new file mode 100644 index 000000000..bc61bb209 Binary files /dev/null and b/libsdrplay/x86/mir_sdr_api.dll differ diff --git a/libsdrplay/x86/mir_sdr_api.lib b/libsdrplay/x86/mir_sdr_api.lib new file mode 100644 index 000000000..c5c2dfa64 Binary files /dev/null and b/libsdrplay/x86/mir_sdr_api.lib differ diff --git a/plugins/samplesource/sdrplay/sdrplay.pro b/plugins/samplesource/sdrplay/sdrplay.pro index d44b7d928..ae17b7b8f 100644 --- a/plugins/samplesource/sdrplay/sdrplay.pro +++ b/plugins/samplesource/sdrplay/sdrplay.pro @@ -9,13 +9,16 @@ CONFIG += plugin QT += core gui widgets multimedia opengl -TARGET = inputrtlsdr +TARGET = inputsdrplay DEFINES += USE_SSE2=1 QMAKE_CXXFLAGS += -msse2 DEFINES += USE_SSE4_1=1 QMAKE_CXXFLAGS += -msse4.1 +CONFIG(MINGW32):INCLUDEPATH += "D:\libusb-1.0.19\include" +CONFIG(MINGW64):INCLUDEPATH += "D:\libusb-1.0.19\include" + INCLUDEPATH += $$PWD INCLUDEPATH += ../../../sdrbase INCLUDEPATH += ../../../libsdrplay @@ -39,4 +42,10 @@ FORMS += sdrplaygui.ui LIBS += -L../../../sdrbase/$${build_subdir} -lsdrbase +CONFIG(MINGW32):LIBS += -L$$PWD/../../../libsdrplay/x86 -lmir_sdr_api +CONFIG(MINGW64):LIBS += -L$$PWD/../../../libsdrplay/x64 -lmir_sdr_api + +CONFIG(MINGW32):LIBS += -LD:\libusb-1.0.19\MinGW32\dll -llibusb-1.0 +CONFIG(MINGW64):LIBS += -LD:\libusb-1.0.19\MinGW64\dll -llibusb-1.0 + RESOURCES = ../../../sdrbase/resources/res.qrc diff --git a/sdrangel.windows.pro b/sdrangel.windows.pro index e392cef90..21d2a7319 100644 --- a/sdrangel.windows.pro +++ b/sdrangel.windows.pro @@ -25,6 +25,7 @@ SUBDIRS += plugins/samplesource/rtlsdr SUBDIRS += plugins/samplesource/hackrf SUBDIRS += plugins/samplesource/airspy SUBDIRS += plugins/samplesource/bladerf +SUBDIRS += plugins/samplesource/sdrplay SUBDIRS += plugins/samplesink/filesink SUBDIRS += plugins/channelrx/chanalyzer SUBDIRS += plugins/channelrx/demodam diff --git a/windows.install.bat b/windows.install.bat index 72546a9f7..b4355e741 100644 --- a/windows.install.bat +++ b/windows.install.bat @@ -32,4 +32,5 @@ copy plugins\samplesource\rtlsdr\%1\inputrtlsdr.dll %2\plugins\samplesource copy plugins\samplesource\hackrf\%1\inputhackrf.dll %2\plugins\samplesource copy plugins\samplesource\airspy\%1\inputairspy.dll %2\plugins\samplesource copy plugins\samplesource\bladerf\%1\inputbladerf.dll %2\plugins\samplesource +copy plugins\samplesource\sdrplay\%1\inputsdrplay.dll %2\plugins\samplesource copy plugins\samplesink\filesink\%1\outputfilesink.dll %2\plugins\samplesink diff --git a/windows64.install.bat b/windows64.install.bat index 00e05d91d..5df432a9b 100644 --- a/windows64.install.bat +++ b/windows64.install.bat @@ -47,4 +47,5 @@ copy plugins\samplesource\rtlsdr\%1\inputrtlsdr.dll %2\plugins\samplesource copy plugins\samplesource\hackrf\%1\inputhackrf.dll %2\plugins\samplesource copy plugins\samplesource\airspy\%1\inputairspy.dll %2\plugins\samplesource copy plugins\samplesource\bladerf\%1\inputbladerf.dll %2\plugins\samplesource +copy plugins\samplesource\sdrplay\%1\inputsdrplay.dll %2\plugins\samplesource copy plugins\samplesink\filesink\%1\outputfilesink.dll %2\plugins\samplesink