0
試圖從「學習OpenCV的」一書編譯一個例子,我得到了以下錯誤(我該如何解決這些問題?):OpenCV的 - 錯誤
> 1>playVideo.obj : error LNK2005: _main
> already defined in imageload.obj
> 1>C:\Users\avbder\Documents\Visual
> Studio
> 2008\Projects\opencv\Debug\opencv.exe
> : fatal error LNK1169: one or more
> multiply defined symbols found 1>Build
> log was saved at
> "file://c:\Users\avbder\Documents\Visual
> Studio
> 2008\Projects\opencv\opencv\Debug\BuildLog.htm"
> 1>opencv - 2 error(s), 0 warning(s)
> ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
> ==========
感謝。