Skip to content

Unable to compile the example #59

@srib

Description

@srib

Tried to follow the example in the documentation and I get an error as follows:

/home/newuser/miniconda3/envs/test_38/include/xtensor-io/xio_vsilfile_wrapper.hpp:4:10: fatal error: cpl_vsi.h: No such file or directory
    4 | #include <cpl_vsi.h>
      |          ^~~~~~~~~~~
compilation terminated.

Steps to reproduce are as follows:

  1. Create a new environment: conda create -n test_38 python=3.8
  2. Install xtensor-zarr as follows: conda install xtensor-zarr -c conda-forge
  3. CMakeLists.txt is here:
    add_executable(my_exec my_exec.cpp)
    target_link_libraries(my_exec PUBLIC xtensor-zarr)
  4. Source for my_exec.cpp is here.

Related issues: #54 in progress.

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