Skip to content

xtensor moved its include files #216

@KrisThielemans

Description

@KrisThielemans

Looks like you're aware of this, but xtensor moved its files in xtensor-stack/xtensor#2829. Creating the issue to generate some visibility for other non-suspecting yardl users like me.

$ /usr/share/miniconda/envs/yardl/bin/x86_64-conda-linux-gnu-c++ -DHAS_STRING_VIEW=1 -DONLY_C_LOCALE=0  -fvisibility-inlines-hidden -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /usr/share/miniconda/envs/yardl/include -std=gnu++17 -Wall -Wextra -pedantic -MD -MT generated/CMakeFiles/petsird_generated.dir/ndjson/protocols.cc.o -MF generated/CMakeFiles/petsird_generated.dir/ndjson/protocols.cc.o.d -o generated/CMakeFiles/petsird_generated.dir/ndjson/protocols.cc.o -c /home/runner/work/PETSIRD/PETSIRD/cpp/generated/ndjson/protocols.cc
In file included from /home/runner/work/PETSIRD/PETSIRD/cpp/generated/ndjson/../yardl/detail/ndjson/../../yardl.h:10,
                 from /home/runner/work/PETSIRD/PETSIRD/cpp/generated/ndjson/../yardl/detail/ndjson/serializers.h:17,
                 from /home/runner/work/PETSIRD/PETSIRD/cpp/generated/ndjson/protocols.cc:3:
/home/runner/work/PETSIRD/PETSIRD/cpp/generated/ndjson/../yardl/detail/ndjson/../../detail/ndarray/impl.h:5:10: fatal error: xtensor/xarray.hpp: No such file or directory
    5 | #include <xtensor/xarray.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
$ ls /usr/share/miniconda/envs/yardl/include/xtensor
chunk  containers  core  generators  io  misc  optional  reducers  utils  views
$ find $CONDA_PREFIX -name xarray\*
/usr/share/miniconda/envs/yardl/include/xtensor/containers/xarray.hpp

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions