×

INDI Library v1.9.9 Released (30 Nov 2022)

Bi-monthly INDI Library released with new drivers and bug fixes.

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: 1 year 6 months ago by Patryk Gutaker.
1 year 6 months ago #71614

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

  • Posts: 203
  • Thank you received: 45
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
1 year 6 months ago #71617

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

  • Posts: 46
  • Thank you received: 5
same for indi_ahp_correlator but the -DAHP_CORRELATOR=Off work around is successful.
 
AP130
G11 driven by OnStep
ASI533MC with QHY5III178C as guide camera
Rpi4 4gb Bullseye (Observatory cntrl)
Beelink Ryzen 7, Kubuntu 22.04 (Kstars/Ekos)
The following user(s) said Thank You: Jerry Black
1 year 6 months ago #71622

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

  • Posts: 46
  • Thank you received: 5
Oh and that was for ARM32 on an Astroberry (Rpi4)
AP130
G11 driven by OnStep
ASI533MC with QHY5III178C as guide camera
Rpi4 4gb Bullseye (Observatory cntrl)
Beelink Ryzen 7, Kubuntu 22.04 (Kstars/Ekos)
1 year 6 months ago #71623

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

Time to create page: 0.536 seconds