Hi!

I have an issue while trying to compile latest indi-3rdparty . The indi-core builds OK, building all 3rd party libraries is OK as well. However when trying to build all 3rd party drivers results in errors with the messages as follows:

[ 76%] Linking CXX executable indi_astromechfoc
/home/gutaker/Projects/indi-3rdparty/indi-limesdr/indi_limesdr_spectrograph.cpp: In member function ‘virtual bool LIMESDR::StartIntegration(double)’:
/home/gutaker/Projects/indi-3rdparty/indi-limesdr/indi_limesdr_spectrograph.cpp:189:15: error: ‘getSampleRate’ was not declared in this scope
     to_read = getSampleRate() * getIntegrationTime();
               ^~~~~~~~~~~~~
/home/gutaker/Projects/indi-3rdparty/indi-limesdr/indi_limesdr_spectrograph.cpp:189:15: note: suggested alternative: ‘LMS_GetSampleRate’
     to_read = getSampleRate() * getIntegrationTime();
               ^~~~~~~~~~~~~
               LMS_GetSampleRate
/home/gutaker/Projects/indi-3rdparty/indi-limesdr/indi_limesdr_spectrograph.cpp: In member function ‘virtual bool LIMESDR::ISNewNumber(const char*, const char*, double*, char**, int)’:
/home/gutaker/Projects/indi-3rdparty/indi-limesdr/indi_limesdr_spectrograph.cpp:237:29: error: ‘getSampleRate’ was not declared in this scope
                 setupParams(getSampleRate(), getFrequency(), getBandwidth(), values[i]);
                             ^~~~~~~~~~~~~
/home/gutaker/Projects/indi-3rdparty/indi-limesdr/indi_limesdr_spectrograph.cpp:237:29: note: suggested alternative: ‘LMS_GetSampleRate’
                 setupParams(getSampleRate(), getFrequency(), getBandwidth(), values[i]);
                             ^~~~~~~~~~~~~
                             LMS_GetSampleRate
/home/gutaker/Projects/indi-3rdparty/indi-limesdr/indi_limesdr_spectrograph.cpp:237:62: error: ‘getBandwidth’ was not declared in this scope
                 setupParams(getSampleRate(), getFrequency(), getBandwidth(), values[i]);
                                                              ^~~~~~~~~~~~
/home/gutaker/Projects/indi-3rdparty/indi-limesdr/indi_limesdr_spectrograph.cpp:237:62: note: suggested alternative: ‘getSwitch’
                 setupParams(getSampleRate(), getFrequency(), getBandwidth(), values[i]);
                                                              ^~~~~~~~~~~~
                                                              getSwitch
/home/gutaker/Projects/indi-3rdparty/indi-limesdr/indi_limesdr_spectrograph.cpp:239:29: error: ‘getSampleRate’ was not declared in this scope
                 setupParams(getSampleRate(), getFrequency(), values[i], getGain());
                             ^~~~~~~~~~~~~
/home/gutaker/Projects/indi-3rdparty/indi-limesdr/indi_limesdr_spectrograph.cpp:239:29: note: suggested alternative: ‘LMS_GetSampleRate’
                 setupParams(getSampleRate(), getFrequency(), values[i], getGain());
                             ^~~~~~~~~~~~~
                             LMS_GetSampleRate
/home/gutaker/Projects/indi-3rdparty/indi-limesdr/indi_limesdr_spectrograph.cpp:241:29: error: ‘getSampleRate’ was not declared in this scope
                 setupParams(getSampleRate(), values[i], getBandwidth(), getGain());
                             ^~~~~~~~~~~~~
/home/gutaker/Projects/indi-3rdparty/indi-limesdr/indi_limesdr_spectrograph.cpp:241:29: note: suggested alternative: ‘LMS_GetSampleRate’
                 setupParams(getSampleRate(), values[i], getBandwidth(), getGain());
                             ^~~~~~~~~~~~~
                             LMS_GetSampleRate
/home/gutaker/Projects/indi-3rdparty/indi-limesdr/indi_limesdr_spectrograph.cpp:241:57: error: ‘getBandwidth’ was not declared in this scope
                 setupParams(getSampleRate(), values[i], getBandwidth(), getGain());
                                                         ^~~~~~~~~~~~
/home/gutaker/Projects/indi-3rdparty/indi-limesdr/indi_limesdr_spectrograph.cpp:241:57: note: suggested alternative: ‘getSwitch’
                 setupParams(getSampleRate(), values[i], getBandwidth(), getGain());
                                                         ^~~~~~~~~~~~
                                                         getSwitch
/home/gutaker/Projects/indi-3rdparty/indi-limesdr/indi_limesdr_spectrograph.cpp:243:56: error: ‘getBandwidth’ was not declared in this scope
                 setupParams(values[i], getFrequency(), getBandwidth(), getGain());
                                                        ^~~~~~~~~~~~
/home/gutaker/Projects/indi-3rdparty/indi-limesdr/indi_limesdr_spectrograph.cpp:243:56: note: suggested alternative: ‘getSwitch’
                 setupParams(values[i], getFrequency(), getBandwidth(), getGain());
                                                        ^~~~~~~~~~~~
                                                        getSwitch
My setup is:
Raspberry Pi 4 4GB RAM
RaspiOS ARM64 from  here

Thanks!

Read More...