遇到问题
fatal error: dynlink_nvcuvid.h: No such file or directory #include
解决方法
加入:-DBUILD_opencv_cudacodec=OFF
mkdir buildcd buildcmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_TIFF=ON -DBUILD_opencv_cudacodec=OFF ..sudo make -j12sudo make install
遇到问题
[ WARN:0] cvCreateFileCaptureWithPreference: backend FFMPEG doesn't support legacy API anymore.
解决方法
安装opencv3.4.0