SkyAPM / cpp2sky

Distributed tracing and monitor SDK in CPP for Apache SkyWalking APM
https://skywalking.apache.org
Apache License 2.0
57 stars 18 forks source link

Installation issues #129

Open an-tao opened 4 months ago

an-tao commented 4 months ago

When I tried to install cpp2sky to my Ubuntu system I got the following error:

sudo cmake -S . -B ./build -DCPP2SKY_INSTALL=on
-- Module support is disabled.
-- Version: 8.1.1
-- Build type: Release
-- CXX_STANDARD: 11
-- Required features: cxx_variadic_templates
-- Build spdlog: 1.9.2
-- Build type: Release
-- gRPC and all its dependencies should  be able to located by find_package().
-- Using protobuf 3.19.5.0
-- CMAKE_CROSSCOMPILING: FALSE
-- Using gRPC 1.46.6
-- Configuring done
CMake Error: install(EXPORT "cpp2sky-targets" ...) includes target "cpp2sky" which requires target "fmt" that is not in any export set.
CMake Error: install(EXPORT "cpp2sky-targets" ...) includes target "cpp2sky" which requires target "spdlog" that is not in any export set.
-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.

How can I fix this issue? thanks.