[BUILD] Building simple example code with Bazel #2573
Labels
bug
Something isn't working
Stale
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
Describe your environment Describe any aspect of your environment relevant to the problem, including your platform, build system, version numbers of installed dependencies, etc. If you're reporting a problem with a specific version of a library in this repo, please check whether the problem has been fixed on main branch.
OS: Linux ubuntu
Bazel version: Build label: 7.0.1
Steps to reproduce
Describe exactly how to reproduce the error. Include a code sample if applicable.
successfully install opentelemetry onto system:
git clone --recurse-submodules --depth 1 --branch v1.14.2 https://github.com/open-telemetry/opentelemetry-cpp.git && cd opentelemetry-cpp && mkdir build && cd build && cmake -DWITH_BENCHMARK=OFF -DWITH_ZIPKIN=ON .. && cmake --build . -j 16 && cmake --install .
build this example with a bazel project with system dependencies:
build command:
What is the expected behavior?
What did you expect to see?
Expect successful example build.
What is the actual behavior?
What did you see instead?
produce error:
Additional context
Add any other context about the problem here.
Also try other version, same issue.
I found similar issue with CMake: #1359, but not sure how to fix in this example.
Thanks in advance!
The text was updated successfully, but these errors were encountered: