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();
}