1 | initial version |
there are 3 folders involved here:
assuming, your src is in /home/xxx/opencv, and you would want to build in /home/yyy/opencv and finally install to /home/zzz/opencv, the cmdline would be:
mkdir /home/yyy/opencv cd /home/yyy/opencv
cmake -D CMAKE_INSTALL_PREFIX=/home/zzz/opencv /home/xxx/opencv
in other words: the src dir should be the last argument.
2 | No.2 Revision |
there are 3 folders involved here:
assuming, your src is in /home/xxx/opencv, and you would want to build in /home/yyy/opencv and finally install to /home/zzz/opencv, the cmdline would be:
mkdir /home/yyy/opencv
cd in other words: the src dir should be the last argument.argument in the cmake cmdline.
3 | No.3 Revision |
there are 3 folders involved here:
assuming, your src is in /home/xxx/opencv, and you would want to build in /home/yyy/opencv and finally install to /home/zzz/opencv, the cmdline would be:
mkdir /home/yyy/opencv
cd /home/yyy/opencv
cmake -D CMAKE_INSTALL_PREFIX=/home/zzz/opencv /home/xxx/opencv
in other words: the src dir should be the last argument in the cmake cmdline.