Common Problems and Solutions
This section contains problems that may be encountered in the project and their solutions.
1. Missing OpenCV library or header file
Problem
fatal error: opencv2/opencv.hpp: No such file or directorySolution
cmake .. -DCMAKE_PREFIX_PATH=/path-to-opencv
2. Dataset path error
Problem
Error: Cannot find image at ./data/left/0000000000.pngSolution
3. Image display abnormality
Problem
Solution
4. Other errors during compilation
Link error
C++ standard version incompatible
Last updated
Was this helpful?
