Hi all,
I'm facing several hours on installing opencv_contrib modules for opencv 3 beta. I can build and install opencv 3 beta correctly without problems and is working too.
Then, looking at this [answer](https://github.com/Itseez/opencv_contrib/issues/212) I donwloaded the version of opencv_contrib for the opencv beta version. The to compile I run the command how specified in the repository of [opencv_contrib](https://github.com/Itseez/opencv_contrib), that is:
$ cmake -DOPENCV_EXTRA_MODULES_PATH=../../opencv_contrib/modules ..
Where the opencv_contrib folder is placed in the same folder where the opencv-3.0.0-beta is located. Doing that command I got the error:
Unknown CMake command "ocv_include_modules_recurse".
The person on that question resolved this problem simply by donwloading the [opencv_contrib for the beta version](https://github.com/Itseez/opencv_contrib/tree/3.0.0-beta) (before he was using the [master](https://github.com/Itseez/opencv_contrib)). But for me this is not working (I tried also with both).
To resolve that error I found this [question](http://stackoverflow.com/questions/30155073/error-while-building-opencv-contrib-opencv-3-0) that suggests to use the command:
$ cmake -DOPENCV_EXTRA_MODULES_PATH=opencv_contrib/modules .
This is working well, I can then build with `make` but it seems that is not building anything because it tries to build all the opencv "standards" modules that I have previously built. But, in the folder build/modules/ the folders of the modules of the opencv_contrib have appeared (then the cmake -DOP.......), but they are empty, the have no headers, also then the building.
↧