toltec-astro / citlali

TolTEC data processing pipeline.
https://toltec-astro.github.io/citlali/
2 stars 0 forks source link

Error when compiling citlali v1.x in CentOS 7.5.1804 #8

Closed javierzaragoza closed 2 years ago

javierzaragoza commented 2 years ago

When compiling in CentOS 7.5.1804 I obtain the following error:

[ 95%] Linking CXX executable bin/citlali /home/javier.zaragoza/.conan/data/spdlog/1.9.2///package/ff0052ef32311f77d1f5378b4fcec36de434e6b3/lib/libspdlog.a(async.cpp.o): In function std::thread::_State_impl<std::thread::_Invoker<std::tuple<spdlog::details::periodic_worker::periodic_worker(std::function<void ()> const&, std::chrono::duration<long, std::ratio<1l, 1l> >)::{lambda()#1}> > >::_M_run()': async.cpp:(.text+0x222b): undefined reference topthread_condclockwait' /home/javier.zaragoza/.conan/data/spdlog/1.9.2//_/package/ff0052ef32311f77d1f5378b4fcec36de434e6b3/lib/libspdlog.a(async.cpp.o): In function spdlog::details::thread_pool::process_next_msg_()': async.cpp:(.text+0x247b): undefined reference topthread_condclockwait' /home/javier.zaragoza/.conan/data/spdlog/1.9.2//_/package/ff0052ef32311f77d1f5378b4fcec36de434e6b3/lib/libspdlog.a(async.cpp.o): In function spdlog::details::mpmc_blocking_queue<spdlog::details::async_msg>::dequeue_for(spdlog::details::async_msg&, std::chrono::duration<long, std::ratio<1l, 1000l> >)': async.cpp:(.text._ZN6spdlog7details19mpmc_blocking_queueINS0_9async_msgEE11dequeue_forERS2_NSt6chrono8durationIlSt5ratioILl1ELl1000EEEE[_ZN6spdlog7details19mpmc_blocking_queueINS0_9async_msgEE11dequeue_forERS2_NSt6chrono8durationIlSt5ratioILl1ELl1000EEEE]+0xdb): undefined reference topthread_condclockwait' /home/javier.zaragoza/.conan/data/hdf5/1.12.0//_/package/099122344237b95d69ddf662bb54ed10d9e8e29c/lib/libhdf5.a(H5system.c.o): In function Pflock': H5system.c:(.text+0xd0a): undefined reference tofcntl64' CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o: In function CCfits::Keyword& CCfits::HDU::addKey<double>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) [clone .constprop.0] [clone .isra.0]': main.cpp:(.text+0xb2e): undefined reference toCCfits::KeywordCreator::createKeyword(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool)' CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o: In function CCfits::Keyword& CCfits::HDU::addKey<int>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) [clone .constprop.0] [clone .isra.0]': main.cpp:(.text+0xbae): undefined reference toCCfits::KeywordCreator::createKeyword(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool)' CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o: In function CCfits::Keyword& CCfits::HDU::addKey<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) [clone .constprop.0] [clone .isra.0]': main.cpp:(.text+0x6254): undefined reference toCCfits::KeywordCreator::createKeyword(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool)' CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o: In function void FitsIO<(fileType)1, CCfits::ExtHDU*>::add_wcs<(UnitsType)1, CCfits::PHDU, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, Eigen::Matrix<double, -1, 1, 0, -1, 1>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >(CCfits::PHDU*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, int, double, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, Eigen::Matrix<double, -1, 1, 0, -1, 1>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&) [clone .isra.0]': main.cpp:(.text+0xef38): undefined reference toCCfits::HDU::addKey(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, char const*, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool)' main.cpp:(.text+0xefaa): undefined reference to CCfits::HDU::addKey(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)' main.cpp:(.text+0xf404): undefined reference toCCfits::HDU::addKey(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, char const*, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool)' main.cpp:(.text+0xf46c): undefined reference to CCfits::HDU::addKey(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)' main.cpp:(.text+0xf4ec): undefined reference toCCfits::HDU::addKey(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, char const*, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool)' CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o:main.cpp:(.text+0xf554): more undefined references to CCfits::HDU::addKey(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)' follow CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o: In functionCCfits::FITSUtil::MatchType::operator()() [clone .isra.0] [clone .cold]': main.cpp:(.text.unlikely+0x15e): undefined reference to CCfits::FITSUtil::UnrecognizedType::UnrecognizedType(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool)' CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o: In functionCCfits::FITSUtil::MatchType::operator()() [clone .isra.0] [clone .cold]': main.cpp:(.text.unlikely+0x1ea): undefined reference to CCfits::FITSUtil::UnrecognizedType::UnrecognizedType(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool)' CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o: In functionCCfits::FITSUtil::MatchType::operator()() [clone .isra.0] [clone .cold]': main.cpp:(.text.unlikely+0x276): undefined reference to CCfits::FITSUtil::UnrecognizedType::UnrecognizedType(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool)' CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o: In functionCCfits::FITSUtil::MatchType::operator()() [clone .isra.0] [clone .cold]': main.cpp:(.text.unlikely+0x302): undefined reference to CCfits::FITSUtil::UnrecognizedType::UnrecognizedType(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool)' CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o: In functionCCfits::FITSUtil::MatchType::operator()() [clone .isra.0] [clone .cold]': main.cpp:(.text.unlikely+0x38e): undefined reference to CCfits::FITSUtil::UnrecognizedType::UnrecognizedType(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool)' CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o: In functionCCfits::Image::readImage(fitsfile, long, long, short, std::vector<long, std::allocator > const&, bool&) [clone .isra.0]': main.cpp:(.text._ZN6CCfits5ImageIsE9readImageEP8fitsfilellPsRKSt6vectorIlSaIlEERb.isra.0[_ZN6CCfits6ExtHDU4readImEEvRSt8valarrayITEllPS3]+0x3a7): undefined reference to CCfits::FitsException::FitsException(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool&)' main.cpp:(.text._ZN6CCfits5ImageIsE9readImageEP8fitsfilellPsRKSt6vectorIlSaIlEERb.isra.0[_ZN6CCfits6ExtHDU4readImEEvRSt8valarrayIT_EllPS3_]+0x3ec): undefined reference toCCfits::FitsException::FitsException(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool&)' main.cpp:(.text._ZN6CCfits5ImageIsE9readImageEP8fitsfilellPsRKSt6vectorIlSaIlEERb.isra.0[_ZN6CCfits6ExtHDU4readImEEvRSt8valarrayITEllPS3]+0x431): undefined reference to `CCfits::FitsException::FitsException(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool&)' CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o: In function CCfits::Image<unsigned short>::readImage(fitsfile*, long, long, unsigned short*, std::vector<long, std::allocator<long> > const&, bool&) [clone .isra.0]': main.cpp:(.text._ZN6CCfits5ImageItE9readImageEP8fitsfilellPtRKSt6vectorIlSaIlEERb.isra.0[_ZN6CCfits6ExtHDU4readImEEvRSt8valarrayIT_EllPS3_]+0x3a7): undefined reference toCCfits::FitsException::FitsException(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool&)' main.cpp:(.text._ZN6CCfits5ImageItE9readImageEP8fitsfilellPtRKSt6vectorIlSaIlEERb.isra.0[_ZN6CCfits6ExtHDU4readImEEvRSt8valarrayITEllPS3]+0x3ec): undefined reference to `CCfits::FitsException::FitsException(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool&)' CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o:main.cpp:(.text._ZN6CCfits5ImageItE9readImageEP8fitsfilellPtRKSt6vectorIlSaIlEERb.isra.0[_ZN6CCfits6ExtHDU4readImEEvRSt8valarrayITEllPS3]+0x431): more undefined references to CCfits::FitsException::FitsException(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool&)' follow CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o: In functionCCfits::FITSUtil::MatchType::operator()() [clone .isra.0]': main.cpp:(.text._ZN6CCfits8FITSUtil9MatchTypeImEclEv.isra.0[_ZN6CCfits6ExtHDU4readImEEvRSt8valarrayITEllPS3]+0x260): undefined reference to CCfits::FITSUtil::UnrecognizedType::UnrecognizedType(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool)' CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o: In functionCCfits::NewKeyword::MakeKeyword(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool)': main.cpp:(.text._ZN6CCfits10NewKeywordIfE11MakeKeywordERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_b[_ZN6CCfits10NewKeywordIfE11MakeKeywordERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_b]+0x53): undefined reference to CCfits::Keyword::Keyword(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, CCfits::ValueType, CCfits::HDU*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)' CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o: In functionCCfits::NewKeyword::MakeKeyword(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool)': main.cpp:(.text._ZN6CCfits10NewKeywordIdE11MakeKeywordERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_b[_ZN6CCfits10NewKeywordIdE11MakeKeywordERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_b]+0x53): undefined reference to CCfits::Keyword::Keyword(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, CCfits::ValueType, CCfits::HDU*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)' CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o: In functionCCfits::FITSUtil::MatchType::operator()()': main.cpp:(.text._ZN6CCfits8FITSUtil9MatchTypeIiEclEv[_ZN6CCfits8FITSUtil9MatchTypeIiEclEv]+0x260): undefined reference to CCfits::FITSUtil::UnrecognizedType::UnrecognizedType(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool)' CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o: In functionCCfits::NewKeyword::MakeKeyword(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool)': main.cpp:(.text._ZN6CCfits10NewKeywordIiE11MakeKeywordERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_b[_ZN6CCfits10NewKeywordIiE11MakeKeywordERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_b]+0x53): undefined reference to CCfits::Keyword::Keyword(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, CCfits::ValueType, CCfits::HDU*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)' CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o: In functionvoid CCfits::ExtHDU::read(std::valarray&, long, long, unsigned long)': main.cpp:(.text._ZN6CCfits6ExtHDU4readImEEvRSt8valarrayITEllPS3[_ZN6CCfits6ExtHDU4readImEEvRSt8valarrayITEllPS3]+0x268d): undefined reference to CCfits::FitsException::FitsException(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool&)' main.cpp:(.text._ZN6CCfits6ExtHDU4readImEEvRSt8valarrayIT_EllPS3_[_ZN6CCfits6ExtHDU4readImEEvRSt8valarrayIT_EllPS3_]+0x26d2): undefined reference toCCfits::FitsException::FitsException(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool&)' main.cpp:(.text._ZN6CCfits6ExtHDU4readImEEvRSt8valarrayITEllPS3[_ZN6CCfits6ExtHDU4readImEEvRSt8valarrayITEllPS3]+0x2717): undefined reference to `CCfits::FitsException::FitsException(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool&)' main.cpp:(.text._ZN6CCfits6ExtHDU4readImEEvRSt8valarrayITEllPS3[_ZN6CCfits6ExtHDU4readImEEvRSt8valarrayITEllPS3]+0x275c): undefined reference to CCfits::FitsException::FitsException(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool&)' main.cpp:(.text._ZN6CCfits6ExtHDU4readImEEvRSt8valarrayIT_EllPS3_[_ZN6CCfits6ExtHDU4readImEEvRSt8valarrayIT_EllPS3_]+0x27a1): undefined reference toCCfits::FitsException::FitsException(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool&)' CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o:main.cpp:(.text._ZN6CCfits6ExtHDU4readImEEvRSt8valarrayITEllPS3[_ZN6CCfits6ExtHDU4readImEEvRSt8valarrayITEllPS3]+0x27e6): more undefined references to CCfits::FitsException::FitsException(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool&)' follow CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o: In functionvoid CCfits::ExtHDU::read(std::valarray&, long, long, unsigned long)': main.cpp:(.text._ZN6CCfits6ExtHDU4readImEEvRSt8valarrayITEllPS3[_ZN6CCfits6ExtHDU4readImEEvRSt8valarrayITEllPS3]+0x2ca9): undefined reference to CCfits::FitsFatal::FitsFatal(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o: In functionFitsIO<(fileType)1, CCfits::ExtHDU>::FitsIO(std::cxx11::basic_string<char, std::char_traits, std::allocator >)': main.cpp:(.text._ZN6FitsIOIL8fileType1EPN6CCfits6ExtHDUEEC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN6FitsIOIL8fileType1EPN6CCfits6ExtHDUEEC5ENSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x2cd): undefined reference to CCfits::FITS::FITS(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, CCfits::RWmode, bool, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)' CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o: In functionFitsIO<(fileType)0, CCfits::ExtHDU>::FitsIO(std::cxx11::basic_string<char, std::char_traits, std::allocator >)': main.cpp:(.text._ZN6FitsIOIL8fileType0EPN6CCfits6ExtHDUEEC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN6FitsIOIL8fileType0EPN6CCfits6ExtHDUEEC5ENSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x2e1): undefined reference to CCfits::FITS::FITS(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, CCfits::RWmode, bool, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)' CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o: In functionEngineBase::from_config(tula::config::YamlConfig)': main.cpp:(.text._ZN10EngineBase11from_configEN4tula6config10YamlConfigE[_ZN10EngineBase11from_configEN4tula6config10YamlConfigE]+0x19f8): undefined reference to CCfits::FITS::extbyVersion(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int) const' CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o: In functionCCfits::Image::writeImage(fitsfile, long, long, std::valarray const&, std::vector<long, std::allocator > const&, long&, double)': main.cpp:(.text._ZN6CCfits5ImageIdE10writeImageEP8fitsfilellRKSt8valarrayIdERKSt6vectorIlSaIlEERlPd[_ZN6CCfits5ImageIdE10writeImageEP8fitsfilellRKSt8valarrayIdERKSt6vectorIlSaIlEERlPd]+0x32e): undefined reference to CCfits::FitsException::FitsException(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool&)' CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o: In functionCCfits::Image::writeImage(fitsfile, long, long, std::valarray const&, std::vector<long, std::allocator > const&, long&, float)': main.cpp:(.text._ZN6CCfits5ImageIfE10writeImageEP8fitsfilellRKSt8valarrayIfERKSt6vectorIlSaIlEERlPf[_ZN6CCfits5ImageIfE10writeImageEP8fitsfilellRKSt8valarrayIfERKSt6vectorIlSaIlEERlPf]+0x34e): undefined reference to CCfits::FitsException::FitsException(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool&)' CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o: In functionCCfits::Image::writeImage(fitsfile, long, long, std::valarray const&, std::vector<long, std::allocator > const&, long&, unsigned char)': main.cpp:(.text._ZN6CCfits5ImageIhE10writeImageEP8fitsfilellRKSt8valarrayIhERKSt6vectorIlSaIlEERlPh[_ZN6CCfits5ImageIhE10writeImageEP8fitsfilellRKSt8valarrayIhERKSt6vectorIlSaIlEERlPh]+0x3c0): undefined reference to CCfits::FitsException::FitsException(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool&)' CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o: In functionCCfits::Image::writeImage(fitsfile, long, long, std::valarray const&, std::vector<long, std::allocator > const&, long&, unsigned int)': main.cpp:(.text._ZN6CCfits5ImageIjE10writeImageEP8fitsfilellRKSt8valarrayIjERKSt6vectorIlSaIlEERlPj[_ZN6CCfits5ImageIjE10writeImageEP8fitsfilellRKSt8valarrayIjERKSt6vectorIlSaIlEERlPj]+0x336): undefined reference to CCfits::FitsException::FitsException(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool&)' CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o: In functionCCfits::Image::writeImage(fitsfile, long, long, std::valarray const&, std::vector<long, std::allocator > const&, long&, int)': main.cpp:(.text._ZN6CCfits5ImageIiE10writeImageEP8fitsfilellRKSt8valarrayIiERKSt6vectorIlSaIlEERlPi[_ZN6CCfits5ImageIiE10writeImageEP8fitsfilellRKSt8valarrayIiERKSt6vectorIlSaIlEERlPi]+0x346): undefined reference to CCfits::FitsException::FitsException(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool&)' CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o:main.cpp:(.text._ZN6CCfits5ImageIxE10writeImageEP8fitsfilellRKSt8valarrayIxERKSt6vectorIlSaIlEERlPx[_ZN6CCfits5ImageIxE10writeImageEP8fitsfilellRKSt8valarrayIxERKSt6vectorIlSaIlEERlPx]+0x316): more undefined references toCCfits::FitsException::FitsException(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool&)' follow CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o: In function void CCfits::ExtHDU::write<double>(long, long, std::valarray<double> const&, double*)': main.cpp:(.text._ZN6CCfits6ExtHDU5writeIdEEvllRKSt8valarrayIT_EPS3_[_ZN6CCfits6ExtHDU5writeIdEEvllRKSt8valarrayIT_EPS3_]+0xff9): undefined reference toCCfits::FITSUtil::FITSType2Stringabi:cxx11' main.cpp:(.text._ZN6CCfits6ExtHDU5writeIdEEvllRKSt8valarrayITEPS3[_ZN6CCfits6ExtHDU5writeIdEEvllRKSt8valarrayITEPS3]+0x100a): undefined reference to CCfits::FITSUtil::UnrecognizedType::UnrecognizedType(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool)' CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o: In functionvoid FitsIO<(fileType)1, CCfits::ExtHDU>::add_hdu<Eigen::Matrix<double, -1, -1, 0, -1, -1> >(std::cxx11::basic_string<char, std::char_traits, std::allocator >, Eigen::DenseBase<Eigen::Matrix<double, -1, -1, 0, -1, -1> >&)': main.cpp:(.text._ZN6FitsIOIL8fileType1EPN6CCfits6ExtHDUEE7add_hduIN5Eigen6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEEvNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS6_9DenseBaseIT_EE[_ZN6FitsIOIL8fileType1EPN6CCfits6ExtHDUEE7add_hduIN5Eigen6MatrixIdLin1ELin1ELi0ELin1ELin1EEEEEvNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS6_9DenseBaseIT_EE]+0x6d): undefined reference to `CCfits::FITS::addImage(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, int, std::vector<long, std::allocator >&, int)' CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o: In function `void Beammap::output<(MapBase::MapType)1, CoaddedMapBuffer, std::vector<FitsIO<(fileType)1, CCfits::ExtHDU>, std::allocator<FitsIO<(fileType)1, CCfits::ExtHDU> > > >(CoaddedMapBuffer&, std::vector<FitsIO<(fileType)1, CCfits::ExtHDU>, std::allocator<FitsIO<(fileType)1, CCfits::ExtHDU*> > >&)': main.cpp:(.text._ZN7Beammap6outputILN7MapBase7MapTypeE1E16CoaddedMapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0RT1[_ZN7Beammap6outputILN7MapBase7MapTypeE1E16CoaddedMapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0RT1]+0x1052): undefined reference to `CCfits::FITS::addImage(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, int, std::vector<long, std::allocator >&, int)' main.cpp:(.text._ZN7Beammap6outputILN7MapBase7MapTypeE1E16CoaddedMapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0RT1[_ZN7Beammap6outputILN7MapBase7MapTypeE1E16CoaddedMapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0RT1]+0x1488): undefined reference to CCfits::FITS::addImage(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, std::vector<long, std::allocator<long> >&, int)' main.cpp:(.text._ZN7Beammap6outputILN7MapBase7MapTypeE1E16CoaddedMapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0_RT1_[_ZN7Beammap6outputILN7MapBase7MapTypeE1E16CoaddedMapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0_RT1_]+0x17de): undefined reference toCCfits::KeywordCreator::createKeyword(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool)' main.cpp:(.text._ZN7Beammap6outputILN7MapBase7MapTypeE1E16CoaddedMapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0RT1[_ZN7Beammap6outputILN7MapBase7MapTypeE1E16CoaddedMapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0RT1]+0x1920): undefined reference to CCfits::KeywordCreator::createKeyword(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)' main.cpp:(.text._ZN7Beammap6outputILN7MapBase7MapTypeE1E16CoaddedMapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0_RT1_[_ZN7Beammap6outputILN7MapBase7MapTypeE1E16CoaddedMapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0_RT1_]+0x1a64): undefined reference toCCfits::KeywordCreator::createKeyword(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool)' main.cpp:(.text._ZN7Beammap6outputILN7MapBase7MapTypeE1E16CoaddedMapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0RT1[_ZN7Beammap6outputILN7MapBase7MapTypeE1E16CoaddedMapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0RT1]+0x1b9c): undefined reference to CCfits::KeywordCreator::createKeyword(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)' main.cpp:(.text._ZN7Beammap6outputILN7MapBase7MapTypeE1E16CoaddedMapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0_RT1_[_ZN7Beammap6outputILN7MapBase7MapTypeE1E16CoaddedMapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0_RT1_]+0x1cd8): undefined reference toCCfits::KeywordCreator::createKeyword(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool)' CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o:main.cpp:(.text._ZN7Beammap6outputILN7MapBase7MapTypeE1E16CoaddedMapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0RT1[_ZN7Beammap6outputILN7MapBase7MapTypeE1E16CoaddedMapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0RT1]+0x1e1f): more undefined references to CCfits::KeywordCreator::createKeyword(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)' follow CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o: In functionvoid Beammap::output<(MapBase::MapType)0, MapBuffer, std::vector<FitsIO<(fileType)1, CCfits::ExtHDU>, std::allocator<FitsIO<(fileType)1, CCfits::ExtHDU> > > >(MapBuffer&, std::vector<FitsIO<(fileType)1, CCfits::ExtHDU>, std::allocator<FitsIO<(fileType)1, CCfits::ExtHDU> > >&)': main.cpp:(.text._ZN7Beammap6outputILN7MapBase7MapTypeE0E9MapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0RT1[_ZN7Beammap6outputILN7MapBase7MapTypeE0E9MapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0RT1]+0x1052): undefined reference to CCfits::FITS::addImage(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, std::vector<long, std::allocator<long> >&, int)' main.cpp:(.text._ZN7Beammap6outputILN7MapBase7MapTypeE0E9MapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0_RT1_[_ZN7Beammap6outputILN7MapBase7MapTypeE0E9MapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0_RT1_]+0x1488): undefined reference toCCfits::FITS::addImage(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, int, std::vector<long, std::allocator >&, int)' main.cpp:(.text._ZN7Beammap6outputILN7MapBase7MapTypeE0E9MapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0RT1[_ZN7Beammap6outputILN7MapBase7MapTypeE0E9MapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0RT1]+0x17de): undefined reference to `CCfits::KeywordCreator::createKeyword(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool)' main.cpp:(.text._ZN7Beammap6outputILN7MapBase7MapTypeE0E9MapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0RT1[_ZN7Beammap6outputILN7MapBase7MapTypeE0E9MapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0RT1]+0x1920): undefined reference to `CCfits::KeywordCreator::createKeyword(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool)' main.cpp:(.text._ZN7Beammap6outputILN7MapBase7MapTypeE0E9MapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0RT1[_ZN7Beammap6outputILN7MapBase7MapTypeE0E9MapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0RT1]+0x1a64): undefined reference to `CCfits::KeywordCreator::createKeyword(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool)' main.cpp:(.text._ZN7Beammap6outputILN7MapBase7MapTypeE0E9MapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0RT1[_ZN7Beammap6outputILN7MapBase7MapTypeE0E9MapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0RT1]+0x1b9c): undefined reference to `CCfits::KeywordCreator::createKeyword(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool)' main.cpp:(.text._ZN7Beammap6outputILN7MapBase7MapTypeE0E9MapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0RT1[_ZN7Beammap6outputILN7MapBase7MapTypeE0E9MapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0RT1]+0x1cd8): undefined reference to `CCfits::KeywordCreator::createKeyword(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool)' CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o:main.cpp:(.text._ZN7Beammap6outputILN7MapBase7MapTypeE0E9MapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0RT1[_ZN7Beammap6outputILN7MapBase7MapTypeE0E9MapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0RT1]+0x1e1f): more undefined references to CCfits::KeywordCreator::createKeyword(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)' follow CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o: In functionvoid Lali::output<(MapBase::MapType)1, CoaddedMapBuffer, std::vector<FitsIO<(fileType)1, CCfits::ExtHDU>, std::allocator<FitsIO<(fileType)1, CCfits::ExtHDU> > > >(CoaddedMapBuffer&, std::vector<FitsIO<(fileType)1, CCfits::ExtHDU>, std::allocator<FitsIO<(fileType)1, CCfits::ExtHDU> > >&)': main.cpp:(.text._ZN4Lali6outputILN7MapBase7MapTypeE1E16CoaddedMapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0RT1[_ZN4Lali6outputILN7MapBase7MapTypeE1E16CoaddedMapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0RT1]+0x17e): undefined reference to `CCfits::FITS::addImage(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, int, std::vector<long, std::allocator >&, int)' main.cpp:(.text._ZN4Lali6outputILN7MapBase7MapTypeE1E16CoaddedMapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0RT1[_ZN4Lali6outputILN7MapBase7MapTypeE1E16CoaddedMapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0RT1]+0x3d3): undefined reference to CCfits::FITS::addImage(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, std::vector<long, std::allocator<long> >&, int)' main.cpp:(.text._ZN4Lali6outputILN7MapBase7MapTypeE1E16CoaddedMapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0_RT1_[_ZN4Lali6outputILN7MapBase7MapTypeE1E16CoaddedMapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0_RT1_]+0x70d): undefined reference toCCfits::FITS::addImage(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, int, std::vector<long, std::allocator >&, int)' main.cpp:(.text._ZN4Lali6outputILN7MapBase7MapTypeE1E16CoaddedMapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0RT1[_ZN4Lali6outputILN7MapBase7MapTypeE1E16CoaddedMapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0RT1]+0xa7d): undefined reference to `CCfits::FITS::addImage(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, int, std::vector<long, std::allocator >&, int)' CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o: In function void Lali::output<(MapBase::MapType)0, MapBuffer, std::vector<FitsIO<(fileType)1, CCfits::ExtHDU*>, std::allocator<FitsIO<(fileType)1, CCfits::ExtHDU*> > > >(MapBuffer&, std::vector<FitsIO<(fileType)1, CCfits::ExtHDU*>, std::allocator<FitsIO<(fileType)1, CCfits::ExtHDU*> > >&)': main.cpp:(.text._ZN4Lali6outputILN7MapBase7MapTypeE0E9MapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0_RT1_[_ZN4Lali6outputILN7MapBase7MapTypeE0E9MapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0_RT1_]+0x18a): undefined reference toCCfits::FITS::addImage(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, int, std::vector<long, std::allocator >&, int)' CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o:main.cpp:(.text._ZN4Lali6outputILN7MapBase7MapTypeE0E9MapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0RT1[_ZN4Lali6outputILN7MapBase7MapTypeE0E9MapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0RT1]+0x3e0): more undefined references to CCfits::FITS::addImage(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, std::vector<long, std::allocator<long> >&, int)' follow CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o: In functionvoid Lali::output<(MapBase::MapType)0, MapBuffer, std::vector<FitsIO<(fileType)1, CCfits::ExtHDU>, std::allocator<FitsIO<(fileType)1, CCfits::ExtHDU> > > >(MapBuffer&, std::vector<FitsIO<(fileType)1, CCfits::ExtHDU>, std::allocator<FitsIO<(fileType)1, CCfits::ExtHDU> > >&)': main.cpp:(.text._ZN4Lali6outputILN7MapBase7MapTypeE0E9MapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0RT1[_ZN4Lali6outputILN7MapBase7MapTypeE0E9MapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0RT1]+0xe75): undefined reference to `CCfits::KeywordCreator::createKeyword(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool)' main.cpp:(.text._ZN4Lali6outputILN7MapBase7MapTypeE0E9MapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0RT1[_ZN4Lali6outputILN7MapBase7MapTypeE0E9MapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0RT1]+0xf73): undefined reference to `CCfits::KeywordCreator::createKeyword(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool)' main.cpp:(.text._ZN4Lali6outputILN7MapBase7MapTypeE0E9MapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0RT1[_ZN4Lali6outputILN7MapBase7MapTypeE0E9MapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0RT1]+0x1071): undefined reference to `CCfits::KeywordCreator::createKeyword(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool)' main.cpp:(.text._ZN4Lali6outputILN7MapBase7MapTypeE0E9MapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0RT1[_ZN4Lali6outputILN7MapBase7MapTypeE0E9MapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0RT1]+0x116f): undefined reference to `CCfits::KeywordCreator::createKeyword(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool)' main.cpp:(.text._ZN4Lali6outputILN7MapBase7MapTypeE0E9MapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0RT1[_ZN4Lali6outputILN7MapBase7MapTypeE0E9MapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0RT1]+0x126d): undefined reference to `CCfits::KeywordCreator::createKeyword(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool)' CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o:main.cpp:(.text._ZN4Lali6outputILN7MapBase7MapTypeE0E9MapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0RT1[_ZN4Lali6outputILN7MapBase7MapTypeE0E9MapBufferSt6vectorI6FitsIOIL8fileType1EPN6CCfits6ExtHDUEESaISA_EEEEvRT0RT1]+0x136b): more undefined references to CCfits::KeywordCreator::createKeyword(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)' follow CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o: In functionCCfits::FITSUtil::MatchType<std::cxx11::basic_string<char, std::char_traits, std::allocator > >::operator()()': main.cpp:(.text._ZN6CCfits8FITSUtil9MatchTypeINSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEclEv[_ZN6CCfits8FITSUtil9MatchTypeINSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEclEv]+0x238): undefined reference to `CCfits::FITSUtil::UnrecognizedType::UnrecognizedType(std::cxx11::basic_string<char, std::char_traits, std::allocator >, bool)' CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o: In function `CCfits::NewKeyword<std::cxx11::basic_string<char, std::char_traits, std::allocator > >::MakeKeyword(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool)': main.cpp:(.text._ZN6CCfits10NewKeywordINSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE11MakeKeywordERKS6_S9_b[_ZN6CCfits10NewKeywordINSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE11MakeKeywordERKS6_S9_b]+0x53): undefined reference to `CCfits::Keyword::Keyword(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, CCfits::ValueType, CCfits::HDU*, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool)' CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o:(.rodata._ZTVN6CCfits7KeyDataINSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE[_ZTVN6CCfits7KeyDataINSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE]+0x20): undefined reference to CCfits::KeyData<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::put(std::ostream&) const' CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o:(.rodata._ZTVN6CCfits7KeyDataINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE[_ZTVN6CCfits7KeyDataINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE]+0x30): undefined reference toCCfits::KeyData<std::cxx11::basic_string<char, std::char_traits, std::allocator > >::write()' CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o:(.rodata._ZTVN6CCfits10NewKeywordIfEE[_ZTVN6CCfits10NewKeywordIfEE]+0x30): undefined reference to `CCfits::KeywordCreator::createKeyword(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool)' CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o:(.rodata._ZTVN6CCfits10NewKeywordINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE[_ZTVN6CCfits10NewKeywordINSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE]+0x30): undefined reference to CCfits::KeywordCreator::createKeyword(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)' CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o:(.rodata._ZTVN6CCfits10NewKeywordIiEE[_ZTVN6CCfits10NewKeywordIiEE]+0x30): undefined reference toCCfits::KeywordCreator::createKeyword(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool)' CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o:(.rodata._ZTVN6CCfits10NewKeywordIdEE[_ZTVN6CCfits10NewKeywordIdEE]+0x30): undefined reference to `CCfits::KeywordCreator::createKeyword(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool)' collect2: error: ld returned 1 exit status make[2]: [bin/citlali] Error 1 make[1]: [CMakeFiles/citlali_cli.dir/all] Error 2 make: *** [all] Error 2

Jerry-Ma commented 2 years ago

The CCFITS package in the conan index is problematic. The workaround I found was to separately install CCFITS. For centos, I am not sure if the package manager have a ccfits package. If not so, you'll have to do the following to install CCFITs manually:

$ wget https://heasarc.gsfc.nasa.gov/fitsio/CCfits/CCfits-2.6.tar.gz
$ tar -zxvf CCfits-2.6.tar.gz
$ cd CCfits-2.6
$ ./configure --prefix=/cmake/installation/prefix
$ make && make install

Then in the cmake command to configure citlali, do

$ cmake <other cmake args> -DUSE_INSTALLED_CCFITS=ON -DCCFITS_PREFIX=/installation/prefix
Jerry-Ma commented 2 years ago

It looks like there is also an error in SPDLOG. If you still see the error, you can try using -DFETCH_LOGGING_LIBS=ON to build spdlog inline.

javierzaragoza commented 2 years ago

Still having some errors. Now I get: [ 96%] Linking CXX executable bin/citlali /home/javier.zaragoza/.conan/data/hdf5/1.12.0///package/099122344237b95d69ddf662bb54ed10d9e8e29c/lib/libhdf5.a(H5system.c.o): In function Pflock': H5system.c:(.text+0xd0a): undefined reference tofcntl64' CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o: In function YAML::Node::push_back(YAML::Node const&)': main.cpp:(.text._ZN4YAML4Node9push_backERKS0_[_ZN4YAML4Node9push_backERKS0_]+0x8a): undefined reference toYAML::detail::node_data::push_back(YAML::detail::node&, std::shared_ptr)' CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o: In function YAML::detail::node& YAML::detail::node::get<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::shared_ptr<YAML::detail::memory_holder>)': main.cpp:(.text._ZN4YAML6detail4node3getINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERS1_RKT_St10shared_ptrINS0_13memory_holderEE[_ZN4YAML6detail4node3getINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERS1_RKT_St10shared_ptrINS0_13memory_holderEE]+0x8d): undefined reference toYAML::detail::node_data::convert_to_map(std::shared_ptr)' CMakeFiles/citlali_cli.dir/src/citlali/cli/main.cpp.o: In function YAML::detail::node& YAML::detail::node_data::get<unsigned long>(unsigned long const&, std::shared_ptr<YAML::detail::memory_holder>)': main.cpp:(.text._ZN4YAML6detail9node_data3getImEERNS0_4nodeERKT_St10shared_ptrINS0_13memory_holderEE[_ZN4YAML6detail9node_data3getImEERNS0_4nodeERKT_St10shared_ptrINS0_13memory_holderEE]+0xe6): undefined reference toYAML::detail::node_data::convert_to_map(std::shared_ptr)' collect2: error: ld returned 1 exit status make[2]: [bin/citlali] Error 1 make[1]: [CMakeFiles/citlali_cli.dir/all] Error 2 make: *** [all] Error 2

Jerry-Ma commented 2 years ago

For the YAML cpp related issue, you can try -DFETCH_YAML=ON

javierzaragoza commented 2 years ago

I downloaded and compiled the 1.12.0 version of HDF5 from: https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.12/hdf5-1.12.0/src/hdf5-1.12.0.tar

I installed this version at my home (--prefix=$HOME/deps ): $HOME/deps

Now using -DHDF5_ROOT=$HOME/deps/ works fine and I can compile citlali on CentOS.