Ask Your Question
0

cv::findContours crash with release dlls

asked 2016-11-17 02:09:21 -0600

andreadc gravatar image

Hi, I'm building a VS application linking opencv 2.4.13 release dlls even for RELEASE and DEBUG configuration. In DEBUG configuration it crashes on cv::findContours. I have already checked that using opencv debug dlls it doesn't happen, but it let my application slow down due to opencv debugging. My question is, if I don't need to debug opencv code, there is a way to link anyway release dlls? Or am I bounded to use debug dlls?

thank you for the attention, regards Andrea

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2016-11-17 02:27:58 -0600

berak gravatar image

you have to use debug dlls with debug build, and release dlls with release build. do not mix !

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-11-17 02:09:21 -0600

Seen: 275 times

Last updated: Nov 17 '16