Skip to content

Abseil Version Not Recognized in CMake Configuration #3033

@Inflection-aditya

Description

@Inflection-aditya

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Staletriage/needs-informationIndicates an issue needs more information in order to work on it.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions