Opencv fatal error: CV. H: no such file or directory when LEGO loam package is compiled recently
Through investigation, I found that my own Ubuntu 18.04 is installed with opencv4, the path is usr/include/opencv4, and opencv4 does not have cv. H
Solutions:
Method 1: install opencv3.4.1,
Method 2: Replace cv. H with imgproc.HPP
Similar Posts:
- [Solved] Opencv3.4.0 Install error: fatal error: opencv2/xfeatures2d/cuda.hpp: No such file or directory
- Solve the source code compilation error m of Ubuntu 16.04 + opencv4.1 akefile:160 : recipe for target ‘all’ failed
- Makefile:160: recipe for target ‘all’ failed (Ubuntu 16.06 + Opencv3.2) [Solved]
- MAC OS Install opencv ModuleNotFoundError: No module named ‘cv2’
- Linux Error: _mysql.c:32:20: fatal error: Python.h: No such file or directory [Solved]
- [Solved] Protobuf & cmake Low Version Error: Could not find a package configuration file provided by “Protobuf” with any of the following names: ProtobufConfig.cmake
- [Solved] ubuntu 18.04 Fix Error: “libpng12.so.0: cannot open shared object file: No such file or directory”
- OpenCV Install Error: modulenotfounderror: no module named ‘cv2’
- Python3 ImportError: No module named _ssl [How to Solve]
- [Solved] Ruby cannot load such file — zlib, openssl(LoadError), gem No rule to make target `/include/ruby.h’