dvdesolve / glrpt

Interactive GUI application for receiving, decoding and displaying LRPT images from the Russian Meteor-M type of weather satellites
GNU General Public License v3.0
32 stars 6 forks source link

trouble during make #7

Closed AlexShuvalov closed 3 years ago

AlexShuvalov commented 3 years ago

I am trying to install glrpt. During make i've got following error:

SOAPY_SDR_API SoapySDRStream *SoapySDRDevice_setupStream(SoapySDRDevice *device, ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/alexandr/Dev/glrpt-2.6.0/src/sdr/SoapySDR.c:594:9: error: too many arguments to function ‘SoapySDRDevice_setupStream’ ret = SoapySDRDevice_setupStream( ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/alexandr/Dev/glrpt-2.6.0/src/sdr/SoapySDR.c:29: /usr/local/include/SoapySDR/Device.h:295:31: note: declared here

I compare /home/alexandr/Dev/glrpt-2.6.0/src/sdr/SoapySDR.c:594:

ret = SoapySDRDevice_setupStream( sdr, &rxStream, SOAPY_SDR_RX, SOAPY_SDR_CS16, NULL, 0, NULL );

and /usr/local/include/SoapySDR/Device.h:295:

SOAPY_SDR_API SoapySDRStream *SoapySDRDevice_setupStream(SoapySDRDevice *device, const int direction, const char *format, const size_t *channels, const size_t numChans, const SoapySDRKwargs *args);

Argument list seems to be really different. Am I doing something wrong? Please help.

All previous steps end normally

OS: debian 10.

dvdesolve commented 3 years ago

seems like you have staging/beta version of SoapySDR installed. Could you please tell me which version are you using? latest stable version is 0.7.2 and it's working just fine. newer versions have broken API compatibility. We'll fix it soon

AlexShuvalov commented 3 years ago

Yes, you are right. SoapySDR was 0.8. I change SoapySDR to 0.7.2, then glrpt begins to work. The problem is solved. Thank You very much!

dvdesolve commented 3 years ago

I think as soon as Soapy will stabilize then we implement necessary changes. Thank you for raising this up!

dvdesolve commented 3 years ago

Fixed in fff40fe