Although it has been five or six years since I first came into contact with opencv and used it intermittently, I still encounter some problems when installing and configuring opencv on a new computer or a computer after reinstalling the system. Here is a summary of some of the problems Error condition reached:
1.Environment variables are not configured
The openv bin folder path is not added to the environment variable path;
2. The path is incorrectly filled in
When configuring the attribute table, the paths including directories, library directories, etc. were filled in incorrectly;
3.debug\release\x86\x64 does not match
The configured attribute table does not debug x64, but the running program is in debug x86 mode, or the program is run under other mismatched conditions; in the
above three cases, the include path
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
There will be an abnormal underline and the opencv library cannot be loaded .
4. Version mismatch:
When using a project copied from another computer, the originally configured opencv version is inconsistent with the opencv version on the new computer, resulting in an error when running the program; for example, the newly configured opencv3.4.0, but an error message: Unable to open opencv calib3d231d.lib and
others There are also some problem situations, I will add them when I encounter them.