I was trying to write a camera program by watching an example video, when I finished writing codes , builted it then I got a messagge like at the title.
Actually , my problem isn't it.
Fisrt , I made a search in this forum and other sites , I find a solution , it's about the file paths but the problem is that I add the modules path but the problem doesn't solve
about the problem:
content of .pr
INCLUDEPATH += D:\opencv\include
INCLUDEPATH += D:\opencv\modules \
+calib3d\include
+contrib\include
+core\include
+features2d\include
+flann\include
+gpu\include
+highgui\include
+imgproc\include
+legacy\include
+ml\include
+nonfree\include
+objdetect\include
+photo\include
+stitching\include
+superres\include
+video\include
+videostab\include
LIBS += -LD:\opencv\build\x64\mingw\bin \
-Llibopencv_calib3d246.dll
-Llibopencv_contrib246.dll
-Llibopencv_core246.dll
-Llibopencv_features2d246.dll
-Llibopencv_flann246.dll
-Llibopencv_gpu246.dll
-Llibopencv_highgui246.dll
-Llibopencv_imgproc246.dll
-Llibopencv_legacy246.dll
-Llibopencv_ml246.dll
-Llibopencv_nonfree246.dll
-Llibopencv_objdetect246.dll
-Llibopencv_photo246.dll
-Llibopencv_stitching246.dll
-Llibopencv_superres246.dll
-Llibopencv_video246.dll
-Llibopencv_videostab246.dll
heard files on .h
#include <QDialog>
#include <opencv/highgui.h>
#include <opencv/cv.h>
when I clicked the error to find the error line, it shows me highgui.h heard file
1#ifndef __OPENCV_OLD_HIGHGUI_H__
2#define __OPENCV_OLD_HIGHGUI_H__
3
4#include "opencv2/core/core_c.h"
5#include "opencv2/core/core.hpp"
6#include "opencv2/highgui/highgui_c.h"
7#include "opencv2/highgui/highgui.hpp"
8
9#endif
the error line is 4
------------------
I changed the path in the error line (4th) like in "core/include/opencv2/core/core_c.h" way after that time there is another error:
error: opencv2/core/types_c.h: No such file or directory
Now , What are your suggestions?
Thanks for your help
-------------------------------
I added wrong tag in tags box sorry about that
Bookmarks