Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenCV 3.4.1 + Contrib

you need EXACTLY the same version for both opencv main and contrib repos.

opencv4 (master branch uses c++11, things like override and final) , and your 3.4.1 opencv main branch does not.

either update your opencv main repo (and see, you have c++11 enabled in cmake), or use the 3.4.1 opencv_contrib branch

OpenCV 3.4.1 + Contrib

you need EXACTLY the same version for both opencv main and contrib repos.

opencv4 (master branch branch) uses c++11, things like override and final) , final, and your 3.4.1 opencv main branch does not.not. (or, lacks the macro definitions)

either update your opencv main repo (and see, you have c++11 enabled in cmake), or use the 3.4.1 opencv_contrib branch

OpenCV 3.4.1 + Contrib

you need EXACTLY the same version for both opencv main and contrib repos.

opencv4 (master branch) uses c++11, things like override and final, and your 3.4.1 opencv main branch does not. (or, lacks the macro definitions)

either update your opencv main repo (and see, you have c++11 enabled in cmake), cmake(ENABLE_CXX11)), or use the 3.4.1 opencv_contrib branch

OpenCV 3.4.1 + Contrib

you need EXACTLY the same version for both opencv main and contrib repos.

opencv4 (master branch) uses c++11, things like override and final, and your 3.4.1 opencv main branch does not. (or, lacks the macro definitions)

either update your opencv main repo (and see, you have c++11 enabled in cmake(ENABLE_CXX11)), or use the 3.4.1 opencv_contrib branchbranch (if you downloaded that via git, that's just a git checkout 3.4.1)