I changed "CodecID" to "AVCodecID" and it works fine. Now the problem is it tells it can't find libyuv "libyuv library not found, video support disabled" I see it checking InitCpuFlags .... no Please help On Mon, May 20, 2013 at 5:21 PM, Khoa Pham <onmyway133 at gmail.com> wrote: > Hi, I follow exactly what Samuel post in his project > https://code.google.com/p/siphon/wiki/VIdeoSupport > > So far, I have > 1. libyuv compiled at /Users/me/libyuv/include and /Users/me/libyuv/lib > 2. libx264 and ffmpeg compiled at /Users/me/x264/include and > /Users/me/x264/lib > 3. I autoconf the aconfigure > > When I run > > ./configure-iphone --prefix=/Users/me/libyuv --with-ffmpeg=/Users/me/x264 > --with-libyuv=/Users/me/libyuv > > But I receive "libyuv library not found, video support disabled" ??? > > And when I make clean && make && make install. I receveive > > ../src/pjmedia/ffmpeg_util.h:53: warning: ?enum CodecID? declared inside > parameter list > > ../src/pjmedia/ffmpeg_util.c:65: error: field ?codec_id? has incomplete > type > > ../src/pjmedia/ffmpeg_util.c:169: error: conflicting types for > ?pjmedia_format_id_to_CodecID? > > ../src/pjmedia/ffmpeg_util.h:50: error: previous declaration of > ?pjmedia_format_id_to_CodecID? was here > > ../src/pjmedia/ffmpeg_util.c: In function ?pjmedia_format_id_to_CodecID?: > > ../src/pjmedia/ffmpeg_util.c:173: warning: comparison between pointer and > integer > > ../src/pjmedia/ffmpeg_util.c:174: error: dereferencing pointer to > incomplete type > > ../src/pjmedia/ffmpeg_util.c:174: warning: statement with no effect > > ../src/pjmedia/ffmpeg_util.c:179: error: dereferencing pointer to > incomplete type > > ../src/pjmedia/ffmpeg_util.c:179: warning: statement with no effect > > ../src/pjmedia/ffmpeg_util.c: At top level: > > ../src/pjmedia/ffmpeg_util.c:183: error: parameter 1 (?codec_id?) has > incomplete type > > make[2]: *** [output/pjmedia-arm-apple-darwin9/ffmpeg_util.o] Error 1 > > make[1]: *** [pjmedia] Error 2 > > make: *** [all] Error 1 > > > Please help > > > > -- > Khoa Pham > -- Khoa Pham HCMC University of Science www.fantageek.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130521/117202d0/attachment-0001.html>