selfmonitoring-agent icon indicating copy to clipboard operation
selfmonitoring-agent copied to clipboard

Error when i execute build/tests

Open xiran2018 opened this issue 5 years ago • 1 comments

jql@ubuntu:~/selfmonitoring-agent$ build/tests

OpenCV Error: Assertion failed (src1.size == src2.size && src1.type() == src2.type()) in norm, file /build/opencv-ys8xiq/opencv-2.4.9.1+dfsg/modules/core/src/stat.cpp, line 1978

tests is a Catch v2.0.1 host application.
Run with -? for options

-------------------------------------------------------------------------------
RGB Image
-------------------------------------------------------------------------------
/home/jql/selfmonitoring-agent/src/test/main.cpp:302
...............................................................................

/home/jql/selfmonitoring-agent/src/test/main.cpp:302: FAILED:
  {Unknown expression after the reported line}
due to unexpected exception with message:
  /build/opencv-ys8xiq/opencv-2.4.9.1+dfsg/modules/core/src/stat.cpp:1978:
  error: (-215) src1.size == src2.size && src1.type() == src2.type() in
  function norm

===============================================================================
test cases:      5 |      4 passed | 1 failed
assertions: 118338 | 118337 passed | 1 failed

xiran2018 avatar May 17 '19 03:05 xiran2018

I met the same problem and got no idea. Is there anyone having a solution?

AllenAnthony avatar Aug 22 '19 08:08 AllenAnthony