xt::xzarr_file_system_store store(this->m_FileName); // version 2 file
auto h = xt::get_zarr_hierarchy(store);
//std::cout << "h.get_nodes " << h.get_nodes().dump(); // attempts to read non-existent file
//std::cout << "h.get_children " << h.get_children("/").dump(); // attempts to read non-existent file
std::cout << "h.get_array " << h.get_array("spectra"); // Unkown compressor type: blosc
Stepping through the code using debugger, I noticed that instance().m_builders only contains one entry: binary. As I had to specify the paths to zlib and blosc, I went back to CMake configurations, and noticed that xtensor-io has a few have settings so I enabled HAVE_Blosc, HAVE_GDAL and HAVE_ZLIB. After an incremental build of xtensor-io and xtensor-zarr, now instance().m_builders contains no entries. What am I doing wrong?
Stepping through the code using debugger, I noticed that
instance().m_buildersonly contains one entry:binary. As I had to specify the paths tozlibandblosc, I went back to CMake configurations, and noticed thatxtensor-iohas a fewhavesettings so I enabledHAVE_Blosc,HAVE_GDALandHAVE_ZLIB. After an incremental build ofxtensor-ioandxtensor-zarr, nowinstance().m_builderscontains no entries. What am I doing wrong?