错误 C2065:"resultImgs":未声明的标识符
error C2065: 'resultImgs' : undeclared identifier
编译时出现错误"错误C2065:"resultImgs":未声明的标识符"。这是怎么回事?请帮忙!
{
// record all non-zero responses in case we need to do further research
// but in fact, we only need the max response as the final result
responses.push_back(response);
IplImage* resultImg = siftController.setResultImg(it->ptr.get(),image);
resultImgs.push_back(BasicCvApi::MyImagePtr(resultImg));
strings.push_back(it->className);
}
错误消息非常清楚:编译器看不到名称resultImgs
的定义。因此,请检查此名称,同时考虑到名称的拼写
相关文章:
- #ifdef和未声明的标识符
- 未声明的标识符编译暗黑破坏神 2 程序"muleview"
- 在顶点着色器中使用 OpenGl 的未声明标识符,我在顶点着色器中绘制三角形时遇到问题
- Google protobuf 时间戳未声明标识符,在 Windows 上具有C++
- 使用未声明的标识符"sqrt"?
- 对类 (C++) 中的私有变量使用未声明的标识符
- 我的代码中有错误,未声明的标识符
- 未定义的标识符/未声明
- 错误:在 C++ 'std'使用未声明的标识符
- 在编译器之前检测未声明的标识符
- 使用未声明的标识符'temp'
- 使用未声明的标识符"yylex"和"yyin"?
- 使用"class"关键字,后跟未声明的标识符
- 未声明的标识符错误,但变量定义正确 (?)
- C2065 'cout':未声明的标识符
- C++模板模板参数中未声明的标识符
- 错误:在 C++ 目标 c 混合'self'使用未声明的标识符
- C++循环依赖关系,未声明的标识符
- 我的函数调用 (C++) 中的未声明标识符
- 未找到标识符和未声明的标识符