Debug assertion failed using squares.cpp from opencv examples

asked 2015-11-07 10:01:32 -0500

I'm using opencv 3.0 and VS 2015. I'm using squares.cpp from opencv examples here

https://github.com/Itseez/opencv/blob...

I have no idea why I'm getting this error:

image description

The problem occurs during executing the findSquares() function, but I wasn't able to find anything more specific. I've double checked the opencv release and debug library linkage, but it seems to be alright. I'll appreciate any idea how to get rid of this.

edit retag flag offensive close merge delete

Comments

can it be , you're using opencv debug libs with release build, or the other way round ?

(this is not an opencv exception)

berak gravatar imageberak ( 2015-11-07 10:04:47 -0500 )edit

No, I've checked again and I'm using them properly.

xbilek18 gravatar imagexbilek18 ( 2015-11-07 10:09:54 -0500 )edit

Have you checked the OpenCV dll version ? I see VS2013 but you say that you are using VS 2015.

The other samples work ?

Eduardo gravatar imageEduardo ( 2015-11-07 15:24:07 -0500 )edit