3. 修改opencv_install.sh文件里面第29行下面两个变量后面的路径, OPENCV_EXTRA_MODULES_PATH=【opencv_contrib-3.4.2的解压路径,要绝对路径,以/结尾,例如/media/iccd/expDisk/expr/Ubuntu18.04installOpencv3.4.2/opencv_contrib-3.4.2/】modules/ OPENCV_INSTALL_ROOT_PATH=【Ubuntu18.04installOpencv3.4.2的解压路...