Replies: 1 comment 2 replies
-
You may try use
|
Beta Was this translation helpful? Give feedback.
2 replies
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.
-
CMake Commands:
sudo cmake .. -DBUILD_TESTING=OFF -DWITH_OTLP=ON -DWITH_OTLP_HTTP=ON -DWITH_OTLP_GRPC=OFF -DWITH_LOGS_PREVIEW=OFF -DCMAKE_CXX_STANDARD=17 -DWITH_EXAMPLES=OFF -DOPENTELEMETRY_INSTALL=ON -DCMAKE_BUILD_TYPE=Release -DANDROID_ABI="arm64-v8a" -DANDROID_NATIVE_API_LEVEL=31 -DCMAKE_TOOLCHAIN_FILE=/home/ndk/build/cmake/android.toolchain.cmake
sudo cmake --build . --target all
Response:
I get many errors similar to:
opentelemetry-cpp/api/include/opentelemetry/nostd/./internal/absl/types/../utility/../base/internal/../../meta/type_traits.h:84:27: error: reference to 'is_trivially_destructible' is ambiguous
absl::is_trivially_destructible::value> {};
^
/usr/local/include/absl/meta/type_traits.h:208:12: note: candidate found by name lookup is 'absl::is_trivially_destructible'
using std::is_trivially_destructible;
I found the following warning in that file (type_traits.h):
// WARNING: use of many of the constructs in this header will count as "complex
// template metaprogramming", so before proceeding, please carefully consider
// https://google.github.io/styleguide/cppguide.html#Template_metaprogramming
//
// WARNING: using template metaprogramming to detect or depend on API
// features is brittle and not guaranteed. Neither the standard library nor
// Abseil provides any guarantee that APIs are stable in the face of template
// metaprogramming. Use with caution.
I'm not too familiar with meta-programming so I'm confused on how to proceed.
Beta Was this translation helpful? Give feedback.
All reactions