# install

base on: https://github.com/open-telemetry/opentelemetry-cpp/blob/main/INSTALL.md

you need to install some deps:

update protoc:

google/protobuf/port_def.inc: no such file or directory

see https://www.jianshu.com/p/273ecca5c458

download and compile protoc: https://github.com/protocolbuffers/protobuf/releases