1 | initial version |
1.: yes. and please use git clone https://github.com/Itseez/opencv
(to get proper versioning)
2.: yes. put it next to your opencv folder
3.: make a "build" folder (anywhere, but preferably not in your src tree, so you can throw it away later) and cd there
4.: invoke cmake (better even: cmake-gui), and add -DOPENCV_EXTRA_MODULES_PATH=/where/you/put/the/contrib/folder/modules
(or locate the option in cmake-gui). the /modules
at the end is important ! the last argument to cmake should be /path/to/opencv/folder
.
5.: call make -j5
(5 is the number ofthreads to be used. you may skip the option, it'll just take longer)
6.: if no errors occurred, run make install
(7.: good luck !)
2 | No.2 Revision |
1.: yes. and please use git clone https://github.com/Itseez/opencv
(to get proper versioning)
2.: yes. put it next to your opencv folder
3.: make a "build" folder (anywhere, but preferably not in your src tree, so you can throw it away later) and cd there
4.: invoke cmake (better even: cmake-gui), and add -DOPENCV_EXTRA_MODULES_PATH=/where/you/put/the/contrib/folder/modules
(or locate the option in cmake-gui). the /modules
at the end is important ! !
-DCMAKE_INSTALL_PREFIX=/some/folder
should point to the final install path (/usr/local by default), see 6.
the last argument to cmake should be /path/to/opencv/folder
.
5.: call make -j5
(5 is the number ofthreads to be used. you may skip the option, it'll just take longer)
6.: if no errors occurred, run make install
(7.: good luck !)