作者aris1008 (aris)
看板C_and_CPP
標題[問題] 宣告問題?
時間Mon Sep 8 16:44:35 2014
開發平台(Platform): (Ex: VC++, GCC, Linux, ...)
Linux
額外使用到的函數庫(Library Used): (Ex: OpenGL, ...)
Opencv
問題(Question):
make後會出現
'salt' was not declared in this scope.
重複檢查與google類似問題數天後,目前都還沒有解決。
如果有大大願意幫忙,我會很感謝你!
程式碼(Code):(請善用置底文網頁, 記得排版)
http://codepad.org/gVVuCjQ7
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 59.127.197.38
※ 文章網址: http://www.ptt.cc/bbs/C_and_CPP/M.1410165879.A.00F.html
※ 編輯: aris1008 (59.127.197.38), 09/08/2014 16:45:45
→ purincess: int main前面加一行 void salt(cv::Mat &, int); 09/08 16:57
→ azureblaze: 函數或變數要用之前要先讓編譯器知道有這東西存在 09/08 16:59
→ aris1008: 謝謝大大的幫忙,問題已解決! 09/08 17:36