-
Notifications
You must be signed in to change notification settings - Fork 119
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
Failing to build tensorestore as a cmake project #151
Comments
Our CI builds tensorstore using CMake on every change, but environments differ. |
Hello, thanks for your response. At the end of the day, I will use it to read/write file based and cloud based zarr directories . Thanks in advance for your help. |
Try using the Ninja generator for cmake.
Edit: The cmake build does output some files to generated directories, and I suspect that the |
Thanks for your answer!! I will give a try. |
Hello,
I am trying to build and link tensorestore library with my c++ code.
I am using cmake approach and follow all the official instructions from here https://google.github.io/tensorstore .
Trying to compile and build cmake project, Unfortunately, I am getting the error below , related to protobufs :
[ 50%] Generating src/google/protobuf/wkt/google/protobuf/any.pb.h, src/google/protobuf/wkt/google/protobuf/api.pb.h, src/google/protobuf/wkt/google/protobuf/duration.pb.h, src/google/protobuf/wkt/google/protobuf/empty.pb.h, src/google/protobuf/wkt/google/protobuf/field_mask.pb.h, src/google/protobuf/wkt/google/protobuf/source_context.pb.h, src/google/protobuf/wkt/google/protobuf/struct.pb.h, src/google/protobuf/wkt/google/protobuf/timestamp.pb.h, src/google/protobuf/wkt/google/protobuf/type.pb.h, src/google/protobuf/wkt/google/protobuf/wrappers.pb.h, src/google/protobuf/wkt/google/protobuf/any.pb.cc, src/google/protobuf/wkt/google/protobuf/api.pb.cc, src/google/protobuf/wkt/google/protobuf/duration.pb.cc, src/google/protobuf/wkt/google/protobuf/empty.pb.cc, src/google/protobuf/wkt/google/protobuf/field_mask.pb.cc, src/google/protobuf/wkt/google/protobuf/source_context.pb.cc, src/google/protobuf/wkt/google/protobuf/struct.pb.cc, src/google/protobuf/wkt/google/protobuf/timestamp.pb.cc, src/google/protobuf/wkt/google/protobuf/type.pb.cc, src/google/protobuf/wkt/google/protobuf/wrappers.pb.cc
../build/_deps/protobuf-build/src/google/protobuf/wkt/: No such file or directory
make[2]: *** [deps/protobuf-build/CMakeFiles/genrule__protobuf_src_google_protobuf_gen_wkt_cc_sources.dir/build.make:102: _deps/protobuf-build/src/google/protobuf/wkt/google/protobuf/any.pb.h] Error 1
make[1]: *** [CMakeFiles/Makefile2:59507: _deps/protobuf-build/CMakeFiles/genrule__protobuf_src_google_protobuf_gen_wkt_cc_sources.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
Platform: Ubuntu 20.04.6 LTS (Focal Fossa)
Any ideas would be very much appreciated,
Best regards,
George
The text was updated successfully, but these errors were encountered: