2014-01-13 44 views
-1

编译此错误时出现'错误C2065:'resultImgs':未声明的标识符'。这里有什么问题?请帮忙!错误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); 
    } 
+3

请不要告诉我这只是'resultImg'的一个错误。 – chris

回答

0

错误mesage是非常明显的:编译器不看名字resultImgs的定义。所以请检查这个名称考虑到名称的拼写

相关问题