open-telemetry / opentelemetry-cpp

The OpenTelemetry C++ Client
https://opentelemetry.io/
Apache License 2.0
839 stars 403 forks source link

Abseil Version Not Recognized in CMake Configuration #3033

Open adityahagawane opened 4 weeks ago

adityahagawane commented 4 weeks ago

Summary: When configuring opentelemetry-cpp with CMake, it fails to recognize the installed version of Abseil, despite having the latest version installed via vcpkg. Steps to Reproduce: cmake -DCMAKE_BUILD_TYPE=Release -DWITH_ZIPKIN=ON -DWITH_PROMETHEUS=ON -DWITH_OTLP_GRPC=ON -DWITH_OTLP_HTTP=ON -DCMAKE_TOOLCHAIN_FILE=C:/Users/Aditya/vcpkg/scripts/buildsystems/vcpkg.cmake .. Expected Behavior: CMake should successfully configure the project without errors related to Abseil version. Actual Behavior: CMake reports an error indicating that the Abseil version does not meet the required version criteria.

Additional Information:

owent commented 3 weeks ago

Could you please retry with -DWITH_ABSEIL=ON ?