从源编译安装opencv 发表于 2018-06-21 | 更新于 2018-06-23 Install opencv from sourceGetting the Opencv from the Git Repository12cd workspacegit clone https://github.com/opencv/opencv.git Building OpenCV using CMake1234cd opencvmkdir releasecd releasecmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local .. 12makemake install