I tried for several hours, but I cannot figure it out. I use KXMOVIE in my project. I downloaded and compiled ffmpeg binaries according to the instructions. The sample application actually works very well, but I cannot build it in my own project. All .a files are, as shown in the sample application. I get this error when I try to build a simulator.
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)
What am I doing wrong? I donβt even know where to start.
source share