-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to enable compression support? #56
Comments
You need to register the compressor first, like so: xtensor-zarr/test/test_gcs.cpp Line 22 in 90f0acf
|
When I add that, I run into a link error: |
I don't know, maybe @JohanMabille has some ideas? |
We have some precompiled instantiations of Can you try adding this in your code before calling the register function (do not forget the namespace xt
{
template void xzarr_register_compressor<xzarr_file_system_store, xio_blosc_config>();
} |
Yes, that did it. Perhaps it should be added to documentation? See #57. |
@dzenanz yes definitely. Would you like to open a PR? |
I just added a new commit to #54. |
Stepping through the code using debugger, I noticed that
instance().m_builders
only contains one entry:binary
. As I had to specify the paths tozlib
andblosc
, I went back to CMake configurations, and noticed thatxtensor-io
has a fewhave
settings so I enabledHAVE_Blosc
,HAVE_GDAL
andHAVE_ZLIB
. After an incremental build ofxtensor-io
andxtensor-zarr
, nowinstance().m_builders
contains no entries. What am I doing wrong?The text was updated successfully, but these errors were encountered: