Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Missing header files in OpenCV 2.4.3 pre-built library install

Hello. I have downloaded the pre-built library package for OpenCV 2.4.3, and have followed the short installation routine described on the "Installation for Windows" page. I have Visual Studio set up to check the paths for the header files as well as the library files to link against. It finds the header files just fine.

The problem is, the header file "cv.h" refers to a number of other header files that do not exist. These are: "opencv2/core/core_c.h", "opencv2/core/core.hpp", "opencv2/imgproc/imgproc_c.h", "opencv2/imgproc/imgproc.hpp", "opencv2/video/tracking.hpp", "opencv2/features2d/features2d.hpp", "opencv2/flann/flann.hpp", "opencv2/calib3d/calib3d.hpp", "opencv2/objdetect/objdetect.hpp", "opencv2/legacy/compat.hpp".

I have the directory "include/opencv2", but the only file in it is "opencv.hpp". None of the files listed above exist in it.

So my question is, what is going on here? Are the installation instructions missing a step or five? How do I fix it and get my program to compile?

If it makes any difference, I am using Visual Studio 2008 on a Windows 8 machine.

Missing header files in OpenCV 2.4.3 pre-built library install

Hello. I have downloaded the pre-built library package for OpenCV 2.4.3, and have followed the short installation routine described on the "Installation for Windows" page. I have Visual Studio set up to check the paths for the header files as well as the library files to link against. It finds the header files just fine.

The problem is, the header file "cv.h" refers to a number of other header files that do not exist. These are: "opencv2/core/core_c.h", "opencv2/core/core.hpp", "opencv2/imgproc/imgproc_c.h", "opencv2/imgproc/imgproc.hpp", "opencv2/video/tracking.hpp", "opencv2/features2d/features2d.hpp", "opencv2/flann/flann.hpp", "opencv2/calib3d/calib3d.hpp", "opencv2/objdetect/objdetect.hpp", "opencv2/legacy/compat.hpp".

I have the directory "include/opencv2", but the only file in it contains is "opencv.hpp". None of the files listed above exist in it.

So my question is, what is going on here? Are the installation instructions missing a step or five? How do I fix it and get my program to compile?

If it makes any difference, I am using Visual Studio 2008 on a Windows 8 machine.