I get an error compiling afw
when calling the CFITSIO library to read an image. it lists a version mistmatch between the CFITSIO library and what afw is expecting.
I have the stack cfitsio: 3360.lsst5
installed.
[2018-01-24T17:04:11.890466Z] ==================================== ERRORS ====================================
[2018-01-24T17:04:11.890592Z] ___________________ ERROR collecting tests/test_convolve.py ____________________
[2018-01-24T17:04:11.890668Z] tests/test_convolve.py:65: in <module>
[2018-01-24T17:04:11.890773Z] FullMaskedImage = afwImage.MaskedImageF(InputMaskedImagePath)
[2018-01-24T17:04:11.890828Z] E FitsError:
[2018-01-24T17:04:11.891013Z] E File "src/fits.cc", line 1270, in lsst::afw::fits::Fits::Fits(const std::string &, const std::string &, int)
[2018-01-24T17:04:11.891232Z] E cfitsio error: could not open the named file (104) : Opening file '/Users/wmwv/lsstsw/stack/DarwinX86/afwdata/14.0+2/data/medexp.fits' with mode 'r'
[2018-01-24T17:04:11.891287Z] E cfitsio error stack:
[2018-01-24T17:04:11.891318Z] E {0}
[2018-01-24T17:04:11.891574Z] E lsst::afw::fits::FitsError: 'cfitsio error: could not open the named file (104) : Opening file '/Users/wmwv/lsstsw/stack/DarwinX86/afwdata/14.0+2/data/medexp.fits' with mode 'r'
[2018-01-24T17:04:11.891631Z] E cfitsio error stack:
[2018-01-24T17:04:11.891652Z] E '
[2018-01-24T17:04:11.891777Z] ------------------------------- Captured stdout --------------------------------
[2018-01-24T17:04:11.891796Z]
[2018-01-24T17:04:11.891899Z] ERROR: Mismatch in the CFITSIO_SONAME value in the fitsio.h include file
[2018-01-24T17:04:11.892020Z] that was used to build the CFITSIO library, and the value in the include file
[2018-01-24T17:04:11.892103Z] that was used when compiling the application program:
[2018-01-24T17:04:11.892187Z] Version used to build the CFITSIO library = 2
[2018-01-24T17:04:11.892277Z] Version included by the application program = 5
[2018-01-24T17:04:11.892295Z]
[2018-01-24T17:04:11.892400Z] Fix this by recompiling and then relinking this application program
[2018-01-24T17:04:11.892458Z] with the CFITSIO library.
[...]