×

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

Bi-monthly release with minor bug fixes and improvements

XISF support

  • Posts: 474
  • Thank you received: 168

Replied by Jarno Paananen on topic XISF support

I don't see any fundamental reason why it would not, but it also requires version of INDI with XISF plugin and drivers compiled against that version (no changes required in the driver as such, it's handled by the INDI camera base class). If there is nothing meaningful in the logs, it's worth checking that you have libindixisf.so plugin installed and so on.
1 year 2 months ago #90762

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

  • Posts: 358
  • Thank you received: 114

Replied by nou on topic XISF support

gphoto driver do conversion CR2->FITS. I added XISF to that codepath. It should work with this. github.com/indilib/indi-3rdparty/pull/736
Last edit: 1 year 2 months ago by nou.
1 year 2 months ago #90763

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

  • Posts: 460
  • Thank you received: 69

Replied by Jerry Black on topic XISF support

It looks like github.com/indilib/indi-3rdparty/pull/736 needs libopencv-dev to be added to the build environment.
Last edit: 1 year 2 months ago by Jerry Black.
1 year 2 months ago #90764

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

  • Posts: 460
  • Thank you received: 69

Replied by Jerry Black on topic XISF support

So for me at least, this doesn't work. Probably my build environment, or just not doing the correct things. I have downloaded the nightly PPA and separately tried a build from source.

My log file is attached. The telescope isn't attached, I start with a FITS capture and then switch to a XISF.
The FITS capture works
2023-02-25T11:47:00.712 AST INFO ][ org.kde.kstars.ekos.capture] - "Captured /home/blackastro/Images/garbage/garbage/Light/LPR/garbage_2023-02-25T11-46-59_Light_LPR_008.fits"

Note that after choosing XISF, the file path appears to be wrong

[2023-02-25T11:47:45.124 AST DEBG ][ org.kde.kstars.ekos.capture] - Preparing capture job "/home/blackastro/Images/garbage/garbage/Light/LPR/garbage_\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d-\\d\\d-\\d\\d_Light_LPR" for execution.
the driver crashes at this point.

Is this just me and evidence that my build is wrong? or is there something more here?
Thanks
1 year 2 months ago #90864
Attachments:

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

  • Posts: 2877
  • Thank you received: 812

Replied by Rob Lancaster on topic XISF support

I just added a Craft formula after Jasem told me about the new libxisf. This will allow building on MacOS and Windows.

invent.kde.org/packaging/craft-blueprint...1b12692fd431c7c438e8
1 year 2 months ago #90879

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

  • Posts: 2877
  • Thank you received: 812

Replied by Rob Lancaster on topic XISF support

So after I made this recipe and installed libxisf into craft, I tried to build indiserver again and it failed saying the following:

In file included from /Users/rlancaste/AstroRoot/craft-root/download/git/libs/indiserver/libs/indixisf/indixisf.cpp:1:
In file included from /Users/rlancaste/AstroRoot/craft-root/download/git/libs/indiserver/libs/indixisf/indixisf.h:1:
/Users/rlancaste/AstroRoot/craft-root/download/git/libs/indiserver/libs/indixisf/../indibase/fitskeyword.h:23:10: fatal error: 'fitsio.h' file not found
#include <fitsio.h>
^~~~~~~~~~
1 error generated.

Then I removed the libxisf header files and the library files and built indiserver again and it worked fine. I know fitsio.h is referenced in multiple places in INDI and other libraries used by us in KStars and other astro software, so I don't think the issue is with cfitsio or with my installation. If it is relevant, note that when building with craft, we are not using files located in /usr or /usr/local, it is a completely different root directory used by craft. On my machine for example, the root directory is /Users/rlancaste/AstroRoot/craft-root/, but this can be totally different on another machine.

Do you have any ideas why building indiserver with libxisf present would cause it to not find key header files? Is there a bug in INDI code or in libxisf code?

Thanks,

Rob
1 year 1 month ago #90904

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

  • Posts: 358
  • Thank you received: 114

Replied by nou on topic XISF support

Try add these two lines into indixisf/CMakeLists.txt
find_package(CFITSIO REQUIRED)
include_directories(${CFITSIO_INCLUDE_DIR})
1 year 1 month ago #90906

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

  • Posts: 2877
  • Thank you received: 812

Replied by Rob Lancaster on topic XISF support

Yes, that did work. But then there was a linking problem for the library. It could not find -lXISF. But this change fixed that on my system.

this line:
target_link_libraries(${PROJECT_NAME} indicore Qt5::Core XISF)

changed to:
target_link_libraries(${PROJECT_NAME} indicore Qt5::Core ${LibXISF_LIBRARIES})

After I made the changes you suggested and changed that other line it built and linked just fine. So did you want to update it with a PR, or should I?

Thanks,

Rob
1 year 1 month ago #90920

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

  • Posts: 358
  • Thank you received: 114

Replied by nou on topic XISF support

You have it working so send PR yourself.
1 year 1 month ago #90925

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

  • Posts: 2877
  • Thank you received: 812

Replied by Rob Lancaster on topic XISF support

The following user(s) said Thank You: nou
1 year 1 month ago #90942

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

  • Posts: 460
  • Thank you received: 69

Replied by Jerry Black on topic XISF support

So I tried a fresh install using astro-soft-build and ended up with version Build: 2023-03-07T16:40:59Z
With this version, saving to XISF rather than FITS results in a crash in the Nikon DSLR driver.

Is this unexpected with this recent build? How can I determine if something is out-of-date and needs updating? The previously mentioned thread entries are too cryptic for me to see where I've gone wrong.

Thanks
1 year 1 month ago #91156

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

  • Posts: 358
  • Thank you received: 114

Replied by nou on topic XISF support

Does it works with simulator?
1 year 1 month ago #91158

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

Time to create page: 0.835 seconds