'SpanContext' is not a member of 'opentelemetry::v1::sdk::trace' #2417
Labels
bug
Something isn't working
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
I am trying to add the OpenTelemetry SDK as a dependency into our project, and I am consistently hitting this compile issue.
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.
opentelemetry-cpp-1.12.0.tar.gz
downloadedSteps to reproduce
Describe exactly how to reproduce the error. Include a code sample if applicable.
When I include certain dependencies from metrics SDK, for example any of the following
and compile with either Bazel or CMake, I get compile error.
My Makefile:
Bazel targets includes the following targets in the dependency
What is the expected behavior?
That it compiles.
What is the actual behavior?
What did you see instead?
Additional context
Compiling with these header files would work properly
I can even compile with a declaration of SpanContext
I have been wrestling with it for a while and I'd appreciate some help.
The text was updated successfully, but these errors were encountered: