<div dir="ltr"><div>e.g. the program below will not compile</div><div><br></div><div>// gcc -g test.c -o test -W -Wall -Wextra -Werror -pedantic -lavcodec -lavformat -lavutil</div><div><b></b><i></i><u></u><sub></sub><sup></sup><strike></strike><br></div><div>#include <stdio.h><br>#include <stdlib.h></div><div>#include <libavutil/imgutils.h><br>#include <libavutil/samplefmt.h><br>#include <libavutil/timestamp.h><br>#include <libavformat/avformat.h></div><div><br></div><div>int main()<br>{<br> av_register_all();<br> printf("The echo..n\");<br> return 0;<br>}</div><div></div><div><br></div><div><br></div><div>The program will copile when I install ffmpeg on FreeBSD with pkg install ffmpeg.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-07-24 9:16 GMT+02:00 Peter Kroon <span dir="ltr"><<a href="mailto:plakroon@gmail.com" target="_blank">plakroon@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I mean by "the dev packages" the header files and libraries.</div><div>But they are not installed when compiled from source.</div><div>I've tried CentOS and FreeBSD. On both OS the header files and libraries are not found.</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2017-07-24 4:14 GMT+02:00 jing zhang <span dir="ltr"><<a href="mailto:zhangjing.lm@gmail.com" target="_blank">zhangjing.lm@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">The header files and libraries will be installed.<br></div><div class="m_-2379110079330473859HOEnZb"><div class="m_-2379110079330473859h5"><div class="gmail_extra"><br><div class="gmail_quote">2017-07-23 1:58 GMT+08:00 Lou <span dir="ltr"><<a href="mailto:lou@lrcd.com" target="_blank">lou@lrcd.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Thu, Jul 20, 2017, at 06:20 AM, Peter Kroon wrote:<br>
> Hello,<br>
><br>
> I've managed to compile ffmpeg successfully with these instructions:<br>
> <a href="https://trac.ffmpeg.org/wiki/CompilationGuide/Centos" target="_blank" rel="noreferrer">https://trac.ffmpeg.org/wiki/C<wbr>ompilationGuide/Centos</a><br>
> However, the dev packages are not present. How do I compile/add the dev<br>
> packages?<br>
<br>
</span>What do you mean by, "the dev packages"?<br>
______________________________<wbr>_________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org" target="_blank">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank" rel="noreferrer">http://ffmpeg.org/mailman/list<wbr>info/libav-user</a><br>
</blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org" target="_blank">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank" rel="noreferrer">http://ffmpeg.org/mailman/list<wbr>info/libav-user</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>