If your Ceres
installation is built with C++11 instructions enabled, then make sure you tell OpenCV to build its modules with c++11 support. This can be done by adding the following entry inside your cmake gui
- Make an new entry with
CMAKE_CXX_STANDARD = 11
- Or simply add
-DCMAKE_CXX_STANDARD=11