Ask Your Question

findContours ERROR

asked 2016-10-17 07:43:32 -0600

TiBe gravatar image


I need your help!

When I compile my code in VS15 in debug mode and start it with VS everything works.

But if I run my program as debug exe, I get this error after findContours image description

The problem comes from findContours, but I have no idea to fix it. -_-

If I create a release version of my application. The app crashes without an error.

edit retag flag offensive close merge delete


please check, if you accidentally use opencv debug libs with release mode, or vice versa.

berak gravatar imageberak ( 2016-10-17 07:50:27 -0600 )edit

no I use the debug libs for debug and the release for release. Strange is that it works debug compiled in VS but not the debug.exe version

TiBe gravatar imageTiBe ( 2016-10-17 10:03:41 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2016-10-18 04:43:29 -0600

TiBe gravatar image

The problem was the linking of vs15 and opencv...know it works

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-10-17 07:43:32 -0600

Seen: 486 times

Last updated: Oct 17 '16