Skip to content

updated s2geometry,absl failed #1492

@runnerSnailer

Description

@runnerSnailer

The s2geometry dependency under examples/s2 is too outdated. After upgrading s2geometry, running cargo run results in an error related to absl and fails. How to resolve this?

  1. git submodule update --remote examples/s2/s2geometry
  2. cargo run
  3. s2geometry/src/s2/base/logging.h:55:10: fatal error: 'absl/base/attributes.h' file not found
    Error: × the include_cpp! macro couldn't be expanded into Rust bindings to C++:
    │ Bindgen was unable to generate the initial .rs bindings for this file.
    │ This may indicate a parsing problem with the C++ headers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions