opentelemetry-cpp icon indicating copy to clipboard operation
opentelemetry-cpp copied to clipboard

Abseil Version Not Recognized in CMake Configuration

Open Inflection-aditya opened this issue 1 year ago • 2 comments

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:

  • Abseil Version Installed: 20240722.0
  • Protobuf Version: 25.1.0
  • Error Message: Protobuf 3.22 or upper require abseil-cpp (Recommended version: 20230125 or upper)
  • System: Windows 11, Visual Studio 2022
  • CMake Version: cmake version 3.30.2

Inflection-aditya avatar Aug 16 '24 08:08 Inflection-aditya