Replies: 3 comments 3 replies
-
Beta Was this translation helpful? Give feedback.
-
@zhzure - You didn't follow the complete steps in INSTALL.md. Specifically installing prerequisites - https://github.com/open-telemetry/opentelemetry-cpp/blob/main/INSTALL.md#prerequisites-for-cmake. The errors you are seeing are because grpc/protobuf is not installed. The docker container mentioned by @esigo in the above comment will install all the pre-requisites for you before building. So you can either use it directly, or follow the steps defined there. |
Beta Was this translation helpful? Give feedback.
-
Hi, i have approximatly the same issue, however i have installed grpc and protobuf. I call CMake with this options : cmake -DCMAKE_BUILD_TYPE=Release \
-DBUILD_TESTING=OFF \
-DWITH_EXAMPLES=OFF \
-DWITH_OTLP=ON \
-DWITH_OTLP_GRPC=0N \
-DWITH_OTLP_HTTP=OFF \
-DCMAKE_PREFIX_PATH="~/Documents/dev/opentelemetry/packages/grpc-install/lib/cmake/absl;~/Documents/dev/opentelemetry/packages/grpc-install/lib/cmake/grpc;~/Documents/dev/opentelemetry/packages/grpc-install/lib/cmake/protobuf" \
-DCMAKE_INSTALL_PREFIX=~/Documents/dev/opentelemetry/opentelemetry-cpp-install \
.. Where CMAKE_PREFIX_PATH point on gRPConfig.cmake, protobuf-config.cmake and absl-config.cmake
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
i'm sorry raise this issue, i have been struggling for days and still don't know how to solve this
and i build protobuf like
error msg like, and seems hundreds more just like those
Beta Was this translation helpful? Give feedback.
All reactions