Skip to content
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

Unable to include tensorstore as a cmake dependency #157

Open
atiro opened this issue May 5, 2024 · 1 comment
Open

Unable to include tensorstore as a cmake dependency #157

atiro opened this issue May 5, 2024 · 1 comment

Comments

@atiro
Copy link

atiro commented May 5, 2024

I'm trying to follow the instructions in https://google.github.io/tensorstore/installation.html#c-api to add tensorstore as a dependency in a parent project cmake build, and while the fetch is working and retrieving tensorstore and its dependencies, I'm getting an error that the targets:

tensorstore::tensorstore
tensorstore::all_drivers

can't be found. Trying to read the generated build_rules.cmake file it seems like no targets are exported, which I assume would be needed for the parent cmake build to discover them. Am I missing a step ?

@laramiel
Copy link
Collaborator

laramiel commented Jul 3, 2024

There isn't enough information here to diagnose what's going on. I have used tensorstore as a cmake project dependency, and it works according to the example documentation. Also, for example, see the repo referenced by #172 which also builds for me: https://github.com/asparsa/zarrtest/tree/main

Perhaps you can create a github repository which duplicates your issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants