小弟想要在某平台的Ubuntu 映象檔編譯 opencv
在過程中 make 過關
但使用 make install 出現
Install the project...
-- Install configuration: "RELEASE"
CMake Error at cmake_install.cmake:41 (file):
file cannot create directory: /usr/local/ocv/share/licenses/opencv4. Maybe
need administrative privileges.
make: *** [Makefile:86: install] Error 1
於是小弟改成 sudo make install 則出現
CMake Error: The source directory "/home/user00/opencv-4.5.0" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
make: *** [Makefile:2738: cmake_check_build_system] Error 1
也已經確認路徑 "/home/user00/opencv-4.5.0" 是存在的
想請問各位大神這要怎麼解決問題呢 不好意思