imread illegal instruction

asked 2016-04-18 05:13:14 -0600

purple gravatar image

Hello,

I'm creating simple application with opencv and I have a problem. When I try to load image from file (absolute path or local file) i have exception

Unhandled exception at 0x0FE97EFE (opencv_world310d.dll) in StudyBox_CV.exe: 0xC000001D: Illegal Instruction.

My code:

cv::Mat obraz;
IplImage* mat = cvLoadImage("c:\\gry\\testImage1.png"); //error
obraz = cv::imread("testImage1.png", CV_LOAD_IMAGE_ANYDEPTH); // the same error

Anyone can help me?

edit retag flag offensive close merge delete