我想在Windows上使用QT Creator中的FFMPEG開發視頻播放器,但對於QT Creator環境來說是全新的。在Windows中運行QT Creator中的項目
我已經從link下載了一個示例項目。當我打開QT Creator並運行它時,它返回了這個錯誤,:-1: error: avutil is required, but compiler can not find it
。
我已經下載了這個(ffmpeg-20130322-git-e0e8c20-win64-static)FFMPEG文件並將其解壓到C分區中的一個文件夾中。我想我得到這個錯誤,因爲QT無法找到FFMPEG的位置,但仍然不知道如何鏈接它。你能否幫我解決這個問題。
LucasWang,非常感謝您的回答。但是,現在我收到許多像這樣的OpenGL相關錯誤消息,「C:\ QtAV-master \ QtAV-master \ src \ GLWidgetRenderer.cpp(100):error C2065:'GL_SMOOTH':未聲明的標識符」。我認爲鏈接到OpenGL已經失蹤,但無法弄清楚如何鏈接它。 – 2013-03-28 11:29:26