我在comfiler中得到了这些错误〜 [英] I got those errors in comfiler ~
问题描述
OpenCV Error: Assertion failed (k == STD_VECTOR_MAT) in getMatRef, file /build/buildd/opencv-2.4.8+dfsg1/modules/core/src/matrix.cpp, line 1703
terminate called after throwing an instance of 'cv::Exception'
what(): /build/buildd/opencv-2.4.8+dfsg1/modules/core/src/matrix.cpp:1703: error: (-215) k == STD_VECTOR_MAT in function getMatRef
我在终端上收到了这条消息...用g ++
但是我不确切知道问题是什么...
因为编码?或.... comfiler ???
帮帮我们......
我尝试了什么:
我使用g ++,gcc
但是......如果是gcc,我收到了这条消息。
I got this message on terminal... with g++
But i don't know exactly what the problem is...
Because of coding?? or.... comfiler???
Help me guys...
What I have tried:
I used g++ , gcc
but... in case of gcc, I got this message .
/usr/bin/ld: /tmp/ccDbCGCY.o: undefined reference to symbol '_ZdlPv@@GLIBCXX_3.4'
//usr/lib/x86_64-linux-gnu/libstdc++.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
推荐答案
关键词是断言失败 - 这是一个非常具体地说明了问题所在。
你的代码中的某个地方有这样的一行:
The key words are "assertion failed" - which is a very specific indication of what the problem is.
Somewhere in your code, you have a line like this:
ASSERT(k == STD_VECTOR_MAT)
哪个已经执行了测试并决定它可以;因为某种原因继续进行结果 k
等于 STD_VECTOR_MAT
为什么这是一个问题,我们不知道:但是消息的其余部分会告诉你代码中的哪个位置它是:func你的 matrix.cpp
文件中的 getMatRef
。
所以看看代码,找到ASSERT,并弄清楚它为什么会出现问题!
我们不能为你做到这一点:我们没有你的代码,如果我们这样做就无法运行它!
Which has performed the test and decided that it can;t proceed as a result becuase for some reason k
is equal to STD_VECTOR_MAT
Why this is a problem, we don't know: but the rest of the message tells you where in your code it is: function getMatRef
in your matrix.cpp
file.
So look at the code, find the ASSERT, and work out why it's a problem!
We can't do that for you: we don't have your code, and couldn't run it if we did!
这篇关于我在comfiler中得到了这些错误〜的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!