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
Error Messages:
error: ‘InitSCC’ is not a member of ‘google::protobuf::internal’
error: ‘struct google::protobuf::internal::ArenaStringPtr’ has no member named ‘UnsafeSetDefault’
error: ‘InitSCC’ is not a member of ‘google::protobuf::internal’
error: ‘scc_info_InstrumentationScope_opentelemetry_2fproto_2fcommon_2fv1_2fcommon_2eproto’ was not declared in this scope; did you mean ‘InitDefaultsscc_info_InstrumentationScope_opentelemetry_2fproto_2fcommon_2fv1_2fcommon_2eproto’?
Hi everyone, I am getting the error above and I'm thinking it is the protobuf version issues. Could anyone point me to the right version of protobuf in order to build OpenTelemetry-CPP v1.8.5 with GRPC v1.54.3?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Environment:
OS: Ubuntu 22.04 Desktop
cmake: 3.22.1
Cmake Command:
cmake -DCMAKE_INSTALL_PREFIX=$OBS_HOME/third_party/pre-generated/opentelemetry-cpp -DBUILD_TESTING=OFF -DCMAKE_CXX_STANDARD=17 -DWITH_LOGS_PREVIEW=ON -DWITH_OTLP=ON -DWITH_OTLP_GRPC=ON -DWITH_OTLP_HTTP=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DBUILD_SHARED_LIBS=ON -DWITH_PROMETHEUS=ON -DWITH_ABSEIL=ON -S $OBS_HOME/third_party/opentelemetry-cpp -B $OBS_HOME/third_party/opentelemetry-cpp/build
Build Install Command:
cmake --build $OBS_HOME/third_party/opentelemetry-cpp/build --target install -j 4
Error Messages:
error: ‘InitSCC’ is not a member of ‘google::protobuf::internal’
error: ‘struct google::protobuf::internal::ArenaStringPtr’ has no member named ‘UnsafeSetDefault’
error: ‘InitSCC’ is not a member of ‘google::protobuf::internal’
error: ‘scc_info_InstrumentationScope_opentelemetry_2fproto_2fcommon_2fv1_2fcommon_2eproto’ was not declared in this scope; did you mean ‘InitDefaultsscc_info_InstrumentationScope_opentelemetry_2fproto_2fcommon_2fv1_2fcommon_2eproto’?
Hi everyone, I am getting the error above and I'm thinking it is the protobuf version issues. Could anyone point me to the right version of protobuf in order to build OpenTelemetry-CPP v1.8.5 with GRPC v1.54.3?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions