test4.exe中0x00007FFB59103C58处的未处理异常:Microsoft C ++异常:cv ::内存位置0x00000053D0BBF610的异常。发生了

时间:2017-08-26 18:43:06

标签: visual-studio exception-handling opencv3.0

我试图执行这个简单的代码,

#include <opencv2/opencv.hpp>
#include <iostream>
using namespace std;
using namespace cv;

int main()
{
    Mat image = imread("D:\Project\OCVtestCode\test4\test4\1.jpg");
    namedWindow("img", WINDOW_AUTOSIZE);
    imshow("img", image);
    waitKey(0);
    return 0;
}

但我收到此错误消息:

Unhandled exception at 0x00007FFB59103C58 in test4.exe: Microsoft C++ exception: cv::Exception at memory location 0x00000089B3F7F380. occurred

0 个答案:

没有答案