Ask Your Question

David Wassell's profile - activity

2017-01-31 10:37:55 -0600 commented question I sometimes get the below access violation error when running any of my OpenCV programs such as the simple one below.

LBerger Thanks, working today but drivers have updated!

2017-01-27 05:15:35 -0600 asked a question I sometimes get the below access violation error when running any of my OpenCV programs such as the simple one below.

I get this error: Exception thrown at 0x00007FF84AFAA74A (igdrcl64.dll) in OpenCV3_Template.exe: 0xC0000005: Access violation reading location 0x0000000000000994.

Here is my code, it is just a very simple program I made to demo the problem, it should just display the image.

This code sometimes runs fine and sometimes gives me the above error, can anyone help?

#include "opencv2\opencv.hpp"

using namespace cv;

int main(int argv, char** argc)
{
    Mat test = imread("McLaren P1 Bahrain-773-crop5184x2670.jpg", CV_LOAD_IMAGE_UNCHANGED);
    imshow("test", test);

    waitKey();
}