Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Abseil Version Not Recognized in CMake Configuration #3033

Open
adityahagawane opened this issue Aug 16, 2024 · 2 comments
Open

Abseil Version Not Recognized in CMake Configuration #3033

adityahagawane opened this issue Aug 16, 2024 · 2 comments
Labels
Stale triage/needs-information Indicates an issue needs more information in order to work on it.

Comments

@adityahagawane
Copy link

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
@github-actions github-actions bot added the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label Aug 16, 2024
@owent
Copy link
Member

owent commented Aug 20, 2024

Could you please retry with -DWITH_ABSEIL=ON ?

@marcalff marcalff added triage/needs-information Indicates an issue needs more information in order to work on it. and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Aug 21, 2024
Copy link

This issue was marked as stale due to lack of activity.

@github-actions github-actions bot added the Stale label Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Stale triage/needs-information Indicates an issue needs more information in order to work on it.
Projects
None yet
Development

No branches or pull requests

3 participants