pothosware / SoapySDRPlay3

Soapy SDR plugin for SDRPlay APIv3
https://github.com/pothosware/SoapySDRPlay3/wiki
MIT License
98 stars 15 forks source link

Registration.cpp:66:36: error: ‘SDRPLAY_RSP1B_ID’ was not declared in this scope #86

Closed Foxiks closed 5 months ago

Foxiks commented 5 months ago

When trying to compile this, an error occurs:

Registration.cpp:66:36: error: ‘SDRPLAY_RSP1B_ID’ was not declared in this scope; did you mean ‘SDRPLAY_RSP1_ID’?
   66 |       else if (rspDevs[i].hwVer == SDRPLAY_RSP1B_ID)
      |                                    ^~~~~~~~~~~~~~~~
      |                                    SDRPLAY_RSP1_ID
make[2]: *** [CMakeFiles/sdrPlaySupport.dir/build.make:63: CMakeFiles/sdrPlaySupport.dir/Registration.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:104: CMakeFiles/sdrPlaySupport.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
SDRplay commented 5 months ago

You need the latest API installed first (min version 3.14) - you can get it from here: https://www.sdrplay.com/api

Foxiks commented 5 months ago

Thanks!