First time here? Check out the FAQ!
answered 2016-01-31 07:06:12 -0600
please do not use the outdatded c-api headers like cv.h , but the c++ ones.
cv.h
#include "opencv2/opencv.hpp"
should be all you need.