Exception thrown at 0x00007FFFE5728E6C in Demo.exe: Microsoft C++ exception: cv::Exception at memory location 0x000000D971A6F210. [closed]
I am trying OpenCV 4 with Visual Studio 17 on Windows 8, testing for some simple codes as below:
Mat dst, cdst;
Canny(src, dst, 50, 200, 3);
cvtColor(dst, cdst, COLOR_GRAY2BGR);
Libraries: opencv_world401.lib;opencv_world401d.lib
Please advise me for the above error, I checked all path & dependencies in configuration. Please help me!
please link only
opencv_400.lib
to the RELEASE version of your program, and theopencv_400d.lib
to your DEBUG version, NOT BOTHProblem resolved. Thank you so much!