stellarsolver
stellarsolver copied to clipboard
The astrophotography community uses TIFF files quite often. Currently it is already supported, but only after installing `qt5-image-formats-plugins` . I did not find an easy way to do this on...
The `qsort_r` function comes with different prototypes on different systems. There are some tests around `NEED_DECLARE_QSORT_R` and `NEED_SWAP_QSORT_R` that try to work around that. However, they only work with compilers...
Hi @rlancaste This is not an issue, just a question. What do you think, is it possible to build this library for Android platform using the [Android NDK](https://developer.android.com/ndk/downloads)? BR, Ladislav
Specifically, the following variables from SEP extractions: `x2`, `y2`, `xy`, `errx2`, `erry2`, and `errxy`.
https://github.com/rlancaste/stellarsolver/blob/e0aa8d394aa9ddd5ad9c1052fff249d019913c49/stellarsolver/sep/extract.cpp#L632-L635 There is a code path that uses `psstack` without initialising it after allocation. That initialisation should probably be done around line 317.
https://github.com/rlancaste/stellarsolver/blob/e0aa8d394aa9ddd5ad9c1052fff249d019913c49/stellarsolver/sep/extract.cpp#L269-L271 https://github.com/rlancaste/stellarsolver/blob/e0aa8d394aa9ddd5ad9c1052fff249d019913c49/stellarsolver/sep/extract.cpp#L610 if `luflag` is `true` and some other conditions around line 570, `info` is used uninitialised here.
https://github.com/rlancaste/stellarsolver/blob/e0aa8d394aa9ddd5ad9c1052fff249d019913c49/stellarsolver/sep/extract.c#L720-L721 https://github.com/rlancaste/stellarsolver/blob/e0aa8d394aa9ddd5ad9c1052fff249d019913c49/stellarsolver/sep/extract.cpp#L728-L729 If `isvarnoise` is false (`image->noise == NULL`), this free uses the unitialised `nbuf` struct.
Tried to compile this under MXE https://mxe.cc/ and there was some compile error regarding mmap
qsort_r configuration at build time fails to do the right thing for me when building 2.6 with musl libc: ``` /home/clayton/src/aports/community/stellarsolver/src/stellarsolver-2.6/stellarsolver/astrometry/include/astrometry/os-features.h:123:17: error: conflicting types for 'qsort_r'; have 'void(void *, size_t,...