linux - CMAKE opencv change build folder -


i have question (i suppose it's stupid i've difficult). i'm try compile cmake (not cmake-gui!!!) opencv. problem need change build folder. give example:

i have source code , cmakelist on directory /home/xxx/opencv/

i execute cmake , put build /home/yyy/lib_opencv/ , subsequently call make install....

with cmake-gui don't have problem. have use cmake command shell.

can me? hope have explained problem

first, create directory want build files in , cd there

mkdir /home/yyy/lib_opencv/ cd /home/yyy/lib_opencv/ 

then run cmake , point opencv source dir:

cmake /home/xxx/opencv/ 

Comments

Popular posts from this blog

python - Selenium remoteWebDriver (& SauceLabs) Firefox moseMoveTo action exception -

html - How to custom Bootstrap grid height? -

angular - Copying node modules to wwwroot AspNetCore -