Exception thrown at 0x000007FEFDB49E5D in CVpro1.exe: Microsoft C++ exception: cv::Exception at memory location 0x000000000023F320.

asked 2017-01-06 00:52:04 -0600

nehalkalita gravatar image

updated 2017-01-06 01:15:09 -0600

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:

image description

Which is also mentioned in the question.

Here is the following code:

image description

Can anyone suggest a solution? I even tried to run some sample codes of OpenCV but I was getting the same error.

edit retag flag offensive close merge delete

Comments

please replace the screenshot of your code with a text version

berak gravatar imageberak ( 2017-01-06 00:54:41 -0600 )edit
1

most probably, you're linking to the wrong version of opencv_world.lib (compiler version, x86 /x64, debug/release, please check again.)

berak gravatar imageberak ( 2017-01-06 02:25:39 -0600 )edit

make sure that your path to the lib is correct with the correct files included.

blink gravatar imageblink ( 2017-07-18 22:54:03 -0600 )edit