Problems encountered
fatal error: dynlink_nvcuvid.h: No such file or directory #include <dynlink_nvcuvid.h>
Solution
Add: -dbuild_opencv_cudacodec=OFF
mkdir build
cd build
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_TIFF=ON -DBUILD_opencv_cudacodec=OFF ..
sudo make -j12
sudo make install
Problems encountered
[ WARN:0] cvCreateFileCaptureWithPreference: backend FFMPEG doesn't support legacy API anymore.
Solution
install opencv3.4.0
It must be 3.4.0, others 3.4 X is wrong
3.4.0 download address https://codeload.github.com/opencv/opencv/tar.gz/refs/tags/3.4.0
Then install the extension package of OpenCV 3.4.0, download address, https://codeload.github.com/opencv/opencv_contrib/tar.gz/refs/tags/3.4.0
Read More:
- [Solved] xml/apr_xml.c:35:19: fatal error: expat.h: No such file or directory #include <expat.h>
- [Solved] GCC Compile Error: fatal error: sys/cdefs.h: No such file or directory
- [Solved] Denseflow Install Error: fatal error: opencv2/cudaarithm.hpp: No such file or directory
- [Solved] fatal error: openssl/hmac.h: No such file or directory
- Fatal error: sys/cdefs.h: No such file or directory
- [Solved] Fatal error: GLOG/logging. H: there is no such file or directory
- [Solved] pxp_lib.h:19:10: fatal error: linux/pxp_device.h: No such file or directory
- [Solved] fatal error: linux/videodev.h: No such file or directory
- [Solved] fatal error: jemalloc/jemalloc.h: No such file or directory
- [Solved] Ubuntu Compile AOSP Error: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
- [Solved] Ubuntu 18.04 Install opencv3.2.0 and opencv_contrib Error
- [Solved] ffmpeg Error: fatal error: zlib.h: Not having that file or directory
- Linux Ubuntu ImportError: Libtk8.5.so: cannot open shared object file:No such file Install tkinter Library
- [How to Solve] ffprobe ‘***: No such file or directory‘
- [Solved] ××: error while loading shared libraries: ××.so.19: cannot open shared object file: No such file or directory
- [Solved] Python Import mmcv Warning: ImportError: libGL.so.1: cannot open shared object file: No such file or directory
- Error: loading shared libraries: cannot open shared object file: No such file or directory
- [Solved] /usr/local/libexec/mecab/mecab-dict-index: error while loading shared libraries: libmecab.so.2: cannot open shared object file: No such file or directory
- [Solved] gcc: error trying to exec ‘cc1‘: execvp: No such file or directory
- Docker Startup Error: standard_init_linux.go:211: exec user process caused “no such file or directory”