Skip to content

Ceres 2.0.0 upgrade to C++14 breaks sfm module #2578

Closed
@ghfue

Description

@ghfue
System information (version)
  • OpenCV => master
  • Operating System / Platform => Ubuntu 18.04
  • Compiler => g++ 7.5.0
Detailed description

The sfm module does not build with Ceres master (2.0.0) due to Ceres switching to C++14.

When building OpenCV, it throws an error about integer_sequence not being a member of std. This is due to integer_sequence being added in C++14.

I was able to build OpenCV with Ceres 2.0.0 by building it with C++14, but I am not confident this is the proper solution for everyone.

The alternative solution would be to stay on Ceres 1.X.X, which could just be documented somewhere.

Steps to reproduce
  • Build ceres from master (2.0.0 has yet to be tagged)
  • Build OpenCV with modules
Issue submission checklist
  • I report the issue, it's not a question
  • I checked the problem with documentation, FAQ, open issues,
    answers.opencv.org, Stack Overflow, etc and have not found solution
  • I updated to latest OpenCV version and the issue is still there
  • There is reproducer code and related data files: videos, images, onnx, etc

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions