Ask Your Question
0

findContours ERROR

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

TiBe gravatar image

Hello,

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

Comments

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

berak gravatar imageberak ( 2016-10-17 07:50:27 -0500 )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 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

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

TiBe gravatar image

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

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

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

Seen: 152 times

Last updated: Oct 17 '16