1 | initial version |
I solved it. It was a silly mistake.
I was setting up OPENCV_EXTRA_MODULES_PATH
as: cmake -D OPENCV_EXTRA_MODULES_PATH=../opencv_contrib/modules ..
But my working directory was "opencv/build/
" (I was in a directory "build
" inside of opencv and the "opencv_contrib
" was in the same directory as "opencv
"), so that variable should have been: cmake -D OPENCV_EXTRA_MODULES_PATH=../../opencv_contrib/modules ..