×

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

Bi-monthly release with minor bug fixes and improvements

Problems building indi_asi_focuser on Raspberry Pi OS 64bit

  • Posts: 36
  • Thank you received: 16
I built and installed the latest 2.0.1 indi-core on Raspberry Pi OS 64 bit no problem.
Then I grabbed the indi-3rdparty 2.0.1 to build the asi drivers. The build for asi_focuser failed with the following:
[  7%] Building CXX object CMakeFiles/indi_asi_focuser.dir/asi_focuser.cpp.o
[ 21%] Built target indi_asi_st4
[ 35%] Built target indi_asi_wheel
[ 57%] Built target indi_asi_single_ccd
[ 71%] Built target asi_camera_test
[ 92%] Built target indi_asi_ccd
/mnt/usbDrive1/Projects/indi-3rdparty/indi-asi/asi_focuser.cpp: In member function ‘virtual bool ASIEAF::updateProperties()’:
/mnt/usbDrive1/Projects/indi-3rdparty/indi-asi/asi_focuser.cpp:202:34: error: ‘EAFGetSDKVersion’ was not declared in this scope
  202 |         VersionInfoSP[1].setText(EAFGetSDKVersion());
      |                                  ^~~~~~~~~~~~~~~~
/mnt/usbDrive1/Projects/indi-3rdparty/indi-asi/asi_focuser.cpp: In member function ‘bool ASIEAF::readMaxPosition()’:
/mnt/usbDrive1/Projects/indi-3rdparty/indi-asi/asi_focuser.cpp:296:10: error: ‘EAFStepRange’ was not declared in this scope; did you mean ‘stepRange’?
  296 |     rc = EAFStepRange(m_ID, &stepRange);
      |          ^~~~~~~~~~~~
      |          stepRange
make[2]: *** [CMakeFiles/indi_asi_focuser.dir/build.make:82: CMakeFiles/indi_asi_focuser.dir/asi_focuser.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:105: CMakeFiles/indi_asi_focuser.dir/all] Error 2
make: *** [Makefile:149: all] Error 2

I'm fairly certain I could build the indi-3rdparty 2.0.0 version without issues. Can anyone assist?

Thanks.
11 months 4 weeks ago #92234

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

  • Posts: 474
  • Thank you received: 168
You need to update libasi before compiling as it updates the EAF library to have this function. It's also included in the 3rd-party repo.
The following user(s) said Thank You: Tunafish
11 months 3 weeks ago #92325

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

  • Posts: 36
  • Thank you received: 16
Quick fix, just had to build and install libasi.

Thank you.
11 months 3 weeks ago #92327

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

Time to create page: 0.382 seconds