Linking error when consuming osqp from bazel-central-registry #3353
Unanswered
traversaro
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone!
To familiarize with bazel and the bazel-central-registry, I am trying to migrate to bazel and bazel-central-registry a simple repository (https://github.com/traversaro/osqp-eigen/tree/addbazel) that has three dependencies, all of them already packaged on BCR:
I tried to follow the Bazel and BCR instructions, but trying to build the tests results on Ubuntu 24.04 with Bazel 7.4.1 in the following linking errors:
The relevant files added to the repo are:
I am quite new to Bazel, so I may be doing something completely wrong, but I am posting this here as it may be useful as a feedback from a new inexperienced user trying to use BCR.
If this is not the right place for this kind of questions/support please let me know, as I am not familiar with the Bazel ecosystem, thanks in advance!
There is a similar issue in #2314, but I avoided replying there as the issue there was marked as resolved.
Beta Was this translation helpful? Give feedback.
All reactions