Closed kmilos closed 3 years ago
Ah, none of the symbols in fitsio2.h are marked as exportable/public with CFITS_API...
Is this a bug upstream, or are these really private? If the latter, I guess imagecodecs shouldn't be relying on them? @cgohlke
This'll affect all cfitsio Windows builds, i.e. conda-forge, vcpkg...
On Windows, link with the static cfitsio.lib or exclude the rcomp extension.
Thanks. I think we'll be disabling it on mingw until these become part of the public cfitsio API.
v2021.6.8 contains a vendored cfitsio/ricecomp.c
file that is compiled with the _rcomp
extension on Windows.
Brilliant, builds ootb now, thanks!
Still no joy even after that fix:
mingw currently ships cfitsio 3.48 which does include these in
ricecomp.c
, but they are for some reason not exported by the dll, so investigating the build and packaging over there first...