You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In file included from /tmp/tritonbuild/tritonserver/build/_deps/repo-third-party-build/opentelemetry-cpp/src/opentelemetry-cpp/sdk/src/metrics/data/circular_buffer.cc:4:
/tmp/tritonbuild/tritonserver/build/_deps/repo-third-party-build/opentelemetry-cpp/src/opentelemetry-cpp/sdk/include/opentelemetry/sdk/metrics/data/circular_buffer.h:44:32: error: 'uint64_t' has not been declared
44 | void Increment(size_t index, uint64_t count);
| ^~~~~~~~
/tmp/tritonbuild/tritonserver/build/_deps/repo-third-party-build/opentelemetry-cpp/src/opentelemetry-cpp/sdk/include/opentelemetry/sdk/metrics/data/circular_buffer.h:52:3: error: 'uint64_t' does not name a type
52 | uint64_t Get(size_t index) const;
| ^~~~~~~~
/tmp/tritonbuild/tritonserver/build/_deps/repo-third-party-build/opentelemetry-cpp/src/opentelemetry-cpp/sdk/include/opentelemetry/sdk/metrics/data/circular_buffer.h:9:1: note: 'uint64_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
8 | #include <limits>
+++ |+#include <cstdint>
9 | #include <vector>
/tmp/tritonbuild/tritonserver/build/_deps/repo-third-party-build/opentelemetry-cpp/src/opentelemetry-cpp/sdk/include/opentelemetry/sdk/metrics/data/circular_buffer.h:67:21: error: 'uint64_t' has not been declared
67 | void EnlargeToFit(uint64_t value);
| ^~~~~~~~
/tmp/tritonbuild/tritonserver/build/_deps/repo-third-party-build/opentelemetry-cpp/src/opentelemetry-cpp/sdk/include/opentelemetry/sdk/metrics/data/circular_buffer.h:69:30: error: 'uint8_t' was not declared in this scope
69 | nostd::variant<std::vector<uint8_t>,
So steps would be : cmake with the above flags && make install
What is the expected behavior?
Successful build
What is the actual behavior?
build failed
Additional context
I've tried to manually include missing <cstdint> to opentelemetry-cpp/src/opentelemetrycpp/sdk/include/opentelemetry/sdk/metrics/data/circular_buffer.h and it fixed the issue. Thus, I have a question, is <cstdint> is trully missing from circular_buffer.h or it was left out intentionally and I am not setting flags properly?
The text was updated successfully, but these errors were encountered:
Describe your environment
We build an opentelemetry as an external project here: https://github.com/triton-inference-server/third_party/blob/e2786f2029f1ca67fca4a0e071505e3423e9e97c/CMakeLists.txt#L478
v1.8.3 was fine, but now we need to upgrade to v1.10.0 due to critical bug in OTLP http exporter: #2191
My GCC version:
Failed to build v1.10.0 due to
Steps to reproduce
Build flags are:
Note, all paths are correct, I just masked them.
So steps would be : cmake with the above flags && make install
What is the expected behavior?
Successful build
What is the actual behavior?
build failed
Additional context
I've tried to manually include missing
<cstdint>
to opentelemetry-cpp/src/opentelemetrycpp/sdk/include/opentelemetry/sdk/metrics/data/circular_buffer.h
and it fixed the issue. Thus, I have a question, is<cstdint>
is trully missing fromcircular_buffer.h
or it was left out intentionally and I am not setting flags properly?The text was updated successfully, but these errors were encountered: