I used a C ++ program for image processing using opencv 2.1. and this program contains the files below:
#include "opencv2/core/core.hpp" #include "opencv2/imgproc/imgproc.hpp" #include "opencv2/highgui/highgui.hpp" #include <iostream> #include <math.h> #include <string.h>
but after debugging the program, I get an error message like:
Fatal error C1083: Cannot open include file: 'opencv2 / core / core.hpp': There is no such file or directory.
which is similar to imgproc.hpp and highgui.hpp , after which I changed #include "opencv2/highgui/highgui.hpp" to #include <highgui.h> and this error was resolved.
But I could not find a solution for imgproc.hpp and highgui.hpp , and there are no files named imgproc.hpp and highgui.hpp inside the opencv folder.
How can I solve this error?
source share