Open artyomb opened 2 months ago
Trying to build the version v1.16.1 on ubuntu 22.04
sudo apt-get install git cmake g++ libcurl4-openssl-dev sudo apt-get install protobuf-compiler libprotobuf-dev sudo apt-get install -y libgrpc++-dev libgrpc-dev protobuf-compiler-grpc git clone --depth 1 --recurse-submodules https://github.com/open-telemetry/opentelemetry-cpp -b v1.16.1 cd opentelemetry-cpp mkdir -p build && cd build cmake -DBUILD_TESTING=OFF -DWITH_OTLP_GRPC=ON ..
Got the following error:
-- PROTOBUF_PROTOC_EXECUTABLE=/usr/bin/protoc -- opentelemetry-proto dependency satisfied by: git submodule -- gRPC_CPP_PLUGIN_EXECUTABLE=/usr/bin/grpc_cpp_plugin CMake Error at cmake/opentelemetry-proto.cmake:348 (get_target_property): get_target_property() called with non-existent target "gRPC::grpc++". Call Stack (most recent call first): CMakeLists.txt:447 (include)
Could you please use ci/setup_grpc.sh to install gRPC, we only support cmake config package now.
ci/setup_grpc.sh
This issue was marked as stale due to lack of activity.
Trying to build the version v1.16.1 on ubuntu 22.04
Got the following error: