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
System information (version)
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_sequencenot being a member ofstd. This is due tointeger_sequencebeing 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
Issue submission checklist
answers.opencv.org, Stack Overflow, etc and have not found solution