diff --git a/devices/devices.pro b/devices/devices.pro index 0199ff713..549796b6c 100644 --- a/devices/devices.pro +++ b/devices/devices.pro @@ -61,7 +61,7 @@ MINGW32 || MINGW64 || macx { } MSVC { - INCLUDEPATH += "C:\softs\PothosSDR\include" + INCLUDEPATH += "C:\Programs\PothosSDR\include" } INCLUDEPATH += $$LIBPERSEUSSRC @@ -144,6 +144,11 @@ MSVC { limesdr/devicelimesdrparam.cpp\ limesdr/devicelimesdrshared.cpp + SOURCES += soapysdr/devicesoapysdr.cpp\ + soapysdr/devicesoapysdrparams.cpp\ + soapysdr/devicesoapysdrscan.cpp\ + soapysdr/devicesoapysdrshared.cpp + HEADERS += hackrf/devicehackrf.h\ hackrf/devicehackrfparam.h\ hackrf/devicehackrfvalues.h\ @@ -152,6 +157,11 @@ MSVC { HEADERS += limesdr/devicelimesdr.h\ limesdr/devicelimesdrparam.h\ limesdr/devicelimesdrshared.h + + HEADERS += soapysdr/devicesoapysdr.h\ + soapysdr/devicesoapysdrparams.h\ + soapysdr/devicesoapysdrscan.h\ + soapysdr/devicesoapysdrshared.h } LIBS += -L../sdrbase/$${build_subdir} -lsdrbase @@ -171,5 +181,6 @@ macx { MSVC { LIBS += -L../libhackrf/$${build_subdir} -llibhackrf - LIBS += -LC:\softs\PothosSDR\lib -lLimeSuite + LIBS += -LC:\Programs\PothosSDR\bin -LC:\Programs\PothosSDR\lib -lLimeSuite + LIBS += -LC:\Programs\PothosSDR\bin -lSoapySDR } diff --git a/devices/limesdr/devicelimesdrshared.h b/devices/limesdr/devicelimesdrshared.h index c8df559e2..3d98d0923 100644 --- a/devices/limesdr/devicelimesdrshared.h +++ b/devices/limesdr/devicelimesdrshared.h @@ -28,7 +28,7 @@ class DEVICES_API DeviceLimeSDRShared { public: - class MsgReportBuddyChange : public Message { + class DEVICES_API MsgReportBuddyChange : public Message { MESSAGE_CLASS_DECLARATION public: @@ -69,7 +69,7 @@ public: { } }; - class MsgReportClockSourceChange : public Message { + class DEVICES_API MsgReportClockSourceChange : public Message { MESSAGE_CLASS_DECLARATION public: @@ -98,7 +98,7 @@ public: { } }; - class MsgReportDeviceInfo : public Message { + class DEVICES_API MsgReportDeviceInfo : public Message { MESSAGE_CLASS_DECLARATION public: @@ -118,7 +118,7 @@ public: { } }; - class ThreadInterface + class DEVICES_API ThreadInterface { public: virtual void startWork() = 0; diff --git a/plugins/samplesink/limesdroutput/limesdroutput.cpp b/plugins/samplesink/limesdroutput/limesdroutput.cpp index 09c8fd387..1cffadf56 100644 --- a/plugins/samplesink/limesdroutput/limesdroutput.cpp +++ b/plugins/samplesink/limesdroutput/limesdroutput.cpp @@ -772,7 +772,7 @@ bool LimeSDROutput::applySettings(const LimeSDROutputSettings& settings, bool fo if ((m_settings.m_devSampleRate != settings.m_devSampleRate) || (m_settings.m_log2SoftInterp != settings.m_log2SoftInterp) || force) { - int fifoSize = std::max( + int fifoSize = (std::max)( (int) ((settings.m_devSampleRate/(1<