2014-01-13 27 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的定義。所以請檢查這個名稱考慮到名稱的拼寫

相關問題