【问题标题】:error C2065: 'resultImgs' : undeclared identifier [closed]错误 C2065:“resultImgs”:未声明的标识符 [关闭]
【发布时间】:2014-01-13 01:17:19
【问题描述】:

我在编译时收到错误“error C2065: 'resultImgs': undeclared identifier”。这里有什么问题?请帮忙!

    {
        // 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);
    }

【问题讨论】:

  • 请不要告诉我这只是resultImg的拼写错误。

标签: c++ compiler-errors declaration identifier


【解决方案1】:

错误信息很清楚:编译器没有看到名称resultImgs 的定义。所以检查这个名字时要考虑到名字的拼写

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2011-02-15
    • 2011-04-16
    • 2011-04-16
    • 2010-12-24
    • 2023-03-04
    • 2011-03-02
    • 2011-12-22
    相关资源
    最近更新 更多