×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Compiling all 3rd party drivers fails on RaspiOS ARM64

  • Posts: 6
  • Thank you received: 0
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:
<code>
[ 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);
                             ^~~~~~~~~~~~~
/home/gutaker/Projects/indi-3rdparty/indi-limesdr/indi_limesdr_spectrograph.cpp:237:29: note: suggested alternative: ‘LMS_GetSampleRate’
                 setupParams(getSampleRate(), getFrequency(), getBandwidth(), values);
                             ^~~~~~~~~~~~~
                             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);
                                                              ^~~~~~~~~~~~
/home/gutaker/Projects/indi-3rdparty/indi-limesdr/indi_limesdr_spectrograph.cpp:237:62: note: suggested alternative: ‘getSwitch’
                 setupParams(getSampleRate(), getFrequency(), getBandwidth(), values);
                                                              ^~~~~~~~~~~~
                                                              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, getGain());
                             ^~~~~~~~~~~~~
/home/gutaker/Projects/indi-3rdparty/indi-limesdr/indi_limesdr_spectrograph.cpp:239:29: note: suggested alternative: ‘LMS_GetSampleRate’
                 setupParams(getSampleRate(), getFrequency(), values, 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, getBandwidth(), getGain());
                             ^~~~~~~~~~~~~
/home/gutaker/Projects/indi-3rdparty/indi-limesdr/indi_limesdr_spectrograph.cpp:241:29: note: suggested alternative: ‘LMS_GetSampleRate’
                 setupParams(getSampleRate(), values, 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, getBandwidth(), getGain());
                                                         ^~~~~~~~~~~~
/home/gutaker/Projects/indi-3rdparty/indi-limesdr/indi_limesdr_spectrograph.cpp:241:57: note: suggested alternative: ‘getSwitch’
                 setupParams(getSampleRate(), values, 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, getFrequency(), getBandwidth(), getGain());
                                                        ^~~~~~~~~~~~
/home/gutaker/Projects/indi-3rdparty/indi-limesdr/indi_limesdr_spectrograph.cpp:243:56: note: suggested alternative: ‘getSwitch’
                 setupParams(values, getFrequency(), getBandwidth(), getGain());
                                                        ^~~~~~~~~~~~
                                                        getSwitch
</code>
My setup is:
Raspberry Pi 4 4GB RAM
RaspiOS ARM64 from  here

Thanks!
Last edit: 2 years 10 months ago by Patryk Gutaker.
2 years 10 months ago #71614

Please Log in or Create an account to join the conversation.

  • Posts: 351
  • Thank you received: 109
as workaround add "-DWITH_LIMESDR=Off" to cmake command when configiring build. It will disable that until it is refractored.
The following user(s) said Thank You: Patryk Gutaker
2 years 10 months ago #71617

Please Log in or Create an account to join the conversation.

  • Posts: 48
  • Thank you received: 6
same for indi_ahp_correlator but the -DAHP_CORRELATOR=Off work around is successful.
 
The following user(s) said Thank You: Jerry Black
2 years 10 months ago #71622

Please Log in or Create an account to join the conversation.

  • Posts: 48
  • Thank you received: 6
Oh and that was for ARM32 on an Astroberry (Rpi4)
2 years 10 months ago #71623

Please Log in or Create an account to join the conversation.

Time to create page: 0.728 seconds