[Libav-user] error in compiling ffmpeg/doc/examples

Victor Toso me at victortoso.com
Thu Jan 23 20:33:13 CET 2014


check the output of pkg-config --libs --cflags libavutil libavformat
libavcodec and use it

something like: gcc -o demuxing_decoding demuxing_decoding.c
`pkg-config --libs --cflags libavutil libavformat libavcodec`

On Thu, Jan 23, 2014 at 8:55 AM, anshul <anshul.ffmpeg at gmail.com> wrote:
> On 01/22/2014 08:52 PM, Ierum Shanaya wrote:
>
> hi,
>
> I have installed ffmpeg on Ubuntu 12.04 as specified in the link:
>
> https://trac.ffmpeg.org/wiki/UbuntuCompilationGuide
>
> and when i try to compile the examples present under ffmpeg/examples, i get
> an error
>
> ffmpeg_sources/ffmpeg/libavutil/common.h:44:32: fatal error:
> libavutil/avconfig.h: No such file or directory
>
> the command i used to compile example file demuxing_decoding.c is
>
> $ gcc -o demuxing_decoding demuxing_decoding.c -lavutil -lavformat -lavcodec
> -lz -lavutil -lm
>
> And when i looked into libavutil directory, there was no avconfig.h.
>
> Could someone please let me know, where i have gone wrong.
>
> Thanks,
> Ierum
>
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
>
> have you configured and install ffmpeg before trying to compile examples
> Thanks
> Anshul
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>



-- 
-------------------------
Victor Toso


More information about the Libav-user mailing list