I have opencv2.1 and coding in Visual C ++ 2010 Express on a 64 bit computer. I had no problems before, I could work with other codes, however the following simple code gives an error:
Unhandled exception in 0x571365af (msvcr90d.dll) in cvMatExample.exe: 0xC0000005: Access violation read location 0x6d622e65.
#include "cvaux.h" #include "highgui.h" #include <stdio.h> using namespace cv; using namespace std; int main(){ Mat xxx; xxx= imread("frame.bmp",0); namedWindow("Result",CV_WINDOW_AUTOSIZE); imshow("Result", xxx); return 0; }
So where exactly is the problem? or cv :: Mat is not compatible with my computer? Thanks in advance.
source share