-
Notifications
You must be signed in to change notification settings - Fork 961
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
missing draco/compression/attributes/attributes_decoder_interface.h"file in build #912
Comments
Thanks for the report. You may actually be the first to attempt building Draco with Bazel. |
/compression/attributes/attributes_decoder_interface.h was omitted, which broke Bazel builds. Fixes: #912
/compression/attributes/attributes_decoder_interface.h was omitted, which broke Bazel builds. Fixes: #912
@Irvenae How are you setting up your Bazel build of Draco? I'm not familiar with setting up a Bazel build that runs a CMake build (or uses it for input), but I can put coverage in place if the setup isn't too complicated. |
In the workspace file (of the bazel project) you download draco with an http_archive rule e.g. http_archive( as you can see you use the build_file argument to pass how it should be built. load("@rules_foreign_cc//foreign_cc:defs.bzl", "cmake") cmake( |
/compression/attributes/attributes_decoder_interface.h was omitted, which broke Bazel builds. Fixes: google#912
bazel-out/k8-fastbuild/bin/external/draco/draco/include/draco/compression/point_cloud/point_cloud_decoder.h:18:10: fatal error: draco/compression/attributes/attributes_decoder_interface.h: No such file or directory
18 | #include "draco/compression/attributes/attributes_decoder_interface.h"
When adding
"${draco_src_root}/compression/attributes/attributes_decoder_interface.h"
at L104 of CMakeLists.txt the build seems to work.
The text was updated successfully, but these errors were encountered: