'cv' : is not a class or namespace name??
#include "cv.hpp"
#include "cv.h"
#include "highgui.h"
using namespace cv;
CvMat mat = CvCreateMat(right-left,bottom-top,CV_8UC1);
报错如下
error C2871: 'cv' : does not exist or is not a namespace
error C2653: 'cv' : is not a class or namespace name
error C2065: 'CvCreateMat' : undeclared identifier
请问这个怎么解决比较好??