Exception thrown at 0x000007FEFDB49E5D in CVpro1.exe: Microsoft C++ exception: cv::Exception at memory location 0x000000000023F320.
I tried to run a C++ program after setting the path and properties for OpenCV in Visual Studio 2015. But I got the error as:
Which is also mentioned in the question.
Here is the following code:
Can anyone suggest a solution? I even tried to run some sample codes of OpenCV but I was getting the same error.
please replace the screenshot of your code with a text version
most probably, you're linking to the wrong version of opencv_world.lib (compiler version, x86 /x64, debug/release, please check again.)
make sure that your path to the lib is correct with the correct files included.