我已經嘗試了幾個小時,但我無法弄清楚這一點。我在我的項目中使用KXMOVIE。我按照指示下載並編譯了ffmpeg二進制文件。示例應用程序實際上工作得很好,但我無法將其構建到自己的項目中。所有的.a文件都在那裏,完全如何在示例應用程序中。我在嘗試構建模擬器時遇到此錯誤。ffmpeg不會在我的項目中生成,在示例應用程序中工作正常
Undefined symbols for architecture i386:
"_iconv", referenced from:
_avcodec_decode_subtitle2 in libavcodec.a(utils.o)
"_iconv_close", referenced from:
_avcodec_open2 in libavcodec.a(utils.o)
_avcodec_decode_subtitle2 in libavcodec.a(utils.o)
"_iconv_open", referenced from:
_avcodec_open2 in libavcodec.a(utils.o)
_avcodec_decode_subtitle2 in libavcodec.a(utils.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我在做什麼錯?我甚至不知道從哪裏開始。
這就是問題所在。非常非常感謝你。 –
非常感謝你...... D – duongvanthai
是的!非常感謝你 –