Missing OpenCV header files
I downloaded OpenCV 3.0.0 and compiled with WITH_QT
and it compiled, but when I look into the folder build/install/include/opencv2
, there is only one file named opencv.hpp
and inside:
#include "opencv2/core.hpp"
#include "opencv2/imgproc.hpp"
#include "opencv2/photo.hpp"
#include "opencv2/video.hpp"
#include "opencv2/features2d.hpp"
#include "opencv2/objdetect.hpp"
#include "opencv2/calib3d.hpp"
#include "opencv2/imgcodecs.hpp"
#include "opencv2/videoio.hpp"
#include "opencv2/highgui.hpp"
#include "opencv2/ml.hpp"
The problem is that these files do not exist in this directory.
I am on 64-bit Windows and I used Visual Studio 2013 to compile OpenCV because Qt uses Visual Studio as the default compiler on 64-bit Windows and it's weird that the examples compile and everything works, but when I try to create a project on Qt and paste this directory as path, I got an error that opencv2/core.hpp
does not exist. I tried to enable direct from opencv/modules/core/include
, the error persists.
What's happening? What is the proposition of the existence of one file that includes others locally if there are no other files?
source to share