Skip to content

timestamp_in_logfile_name error at import #55

@misheel-aicradle

Description

@misheel-aicradle

When I try to install pyceres (v 2.4) from source I receive the following error at import.

ERROR: flag 'timestamp_in_logfile_name' was defined more than once (in files '/tmp/glog-20230914-4707-10zvbv/glog-0.6.0/src/logging.cc' and '/Users/runner/work/vcpkg/buildtrees/glog/src/v0.7.1-795557b621.clean/src/flags.cc').

When I treid building pyceres from PyPI, I received the following error at import.
ERROR: something wrong with flag 'timestamp_in_logfile_name' in file '/Users/runner/work/vcpkg/buildtrees/glog/src/v0.7.1-795557b621.clean/src/flags.cc'. One possibility: file '/Users/runner/work/vcpkg/buildtrees/glog/src/v0.7.1-795557b621.clean/src/flags.cc' is being linked both statically and dynamically into this executable.

MacOS Apple Silicon
Python 3.11.9
pycolmap 3.10.0 (PyPI)
ceres-solver 2.2.0 (Brew)
glog 0.6.0 (Brew)
cmake 3.30.2 (Brew)
gflags 2.2.2 (Brew)
eigen 3.4.0 (Brew)
suite-sparse 7.8.0 (Brew)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions