×

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

Bi-monthly release with minor bug fixes and improvements

How to update libasi?

  • Posts: 1957
  • Thank you received: 420
Hi,

On May 20 a new ASI SDK was released and I would like to use it. Can someone give me instructions on how to do that? For instance, I see
$> ll indi-3rdparty/libasi/x64/
total 4264
libASICamera2.bin*
libEAFFocuser.bin*
libEFWFilter.bin*
libUSB2ST4Conv.bin*

and in the V1.15.0430 SDK for the camera I see
$> ll lib/x64/
total 11296
libASICamera2.a
libASICamera2.so@ -> libASICamera2.so.1.15.0430
libASICamera2.so.1.15.0430*

Is it as simple as copying the libASICamera2.so.1.15.0430 file to libASICamera2.bin (and do the same for EAF, EFW and USBST4), copy the corresponding .h files to indi-3rdparty/libasi directory and merge the asi.rules files of the different SDK tar balls into one asi.rules file? What about the libASICamera2.a etc files? Do I need to put them somewhere as well?

If someone explains then I can do this and test out. If it works then I could file a pull request for the indi-3rdparty repo as well if you want.


Thanks, Wouter
3 years 11 months ago #54486

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

  • Posts: 1957
  • Thank you received: 420
I now see that the EFW and USBST4 drivers are very old and don't need updating. In this case the EAF driver also has not been renewed so only the ASI (camera) driver needs to be updated. Still, do I need to use the .a files as well?


Wouter
3 years 11 months ago #54488

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

  • Posts: 1957
  • Thank you received: 420
Apparently the CMakeLists.txt contains the driver version and needs to be updated as well.

So my only question remains the .a files.


Wouter
3 years 11 months ago #54494

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

  • Posts: 1957
  • Thank you received: 420
Yes that indeed seems to be all. I can safely ignore the .a files. Jasem, jpaana, would you like me to create a pull request for this?


Wouter
3 years 11 months ago #54497

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

  • Posts: 1957
  • Thank you received: 420
PR issued and, after a few comments which have led to minor changes, the new drivers have been merged into the indi-3rdparty repo.
3 years 10 months ago #54609

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

Time to create page: 0.206 seconds