Ask Your Question

Revision history [back]

compiling opencv for OTB

I am trying to use OpenCV for the OTB library on Linux. I've downloaded openCV 2.4.9 and compiled it with cmake/make. When I compile OTB using opencv, I have a bunch of error messages due to missing files in opencv2. There is a single header in this directory and I don't find the other headers to be included. Where can I find those missing files ?

#include "opencv2/core/core_c.h"
#include "opencv2/core/core.hpp"
#include "opencv2/flann/miniflann.hpp"
#include "opencv2/imgproc/imgproc_c.h"
#include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/photo/photo.hpp"
#include "opencv2/video/video.hpp"
#include "opencv2/features2d/features2d.hpp"
#include "opencv2/objdetect/objdetect.hpp"
#include "opencv2/calib3d/calib3d.hpp"
#include "opencv2/ml/ml.hpp"
#include "opencv2/highgui/highgui_c.h"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/contrib/contrib.hpp"