<div dir="ltr">I am sorry if this seems stupid but how can I check the man page?<br><br><div class="gmail_quote">On Thu, Oct 6, 2011 at 5:06 PM, Jonathan Arnold <span dir="ltr"><<a href="mailto:jdarnold@buddydog.org">jdarnold@buddydog.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">On Thu, 6 Oct 2011 14:58:17 +0300<br>
<div class="im">mounir younes <<a href="mailto:mounir.younes@gmail.com">mounir.younes@gmail.com</a>> wrote:<br>
<br>
> tried your command with g++ but still having the same exception. Can<br>
> someone please write a tutorial on how to write the "hello world" in<br>
> ffmpeg and how to compile it?<br>
><br>
> On Mon, Oct 3, 2011 at 9:11 PM, Jonathan Arnold<br>
> <<a href="mailto:jdarnold@buddydog.org">jdarnold@buddydog.org</a>>wrote:<br>
><br>
> > On Mon, 3 Oct 2011 11:36:23 +0300<br>
> > mounir younes <<a href="mailto:mounir.younes@gmail.com">mounir.younes@gmail.com</a>> wrote:<br>
> ><br>
> > > This is my code: (i got it from the internet, and modified it)<br>
> > > ------------------------<br>
> ><br>
> > And what command line do you use to compile it? Just looks like you<br>
> > are forgetting some libraries. Here is my simple compile command:<br>
> ><br>
> > gcc -o tutorial01 tutorial01.c -lavutil -lavformat -lavcodec -lz<br>
> > -lavutil -lswscale -lm<br>
<br>
</div>As mentioned already, you need to be sure to add in all the libraries<br>
you are trying to use. My sample doesn't do sound. For every undefined,<br>
check the man page to see what library it needs. Add the correct -l and<br>
then rebuild. Rinse & repeat until you get all the undefines removed.<br>
<div><div></div><div class="h5"><br>
--<br>
Jonathan Arnold Webstream: <a href="http://hieronymus.soup.io" target="_blank">http://hieronymus.soup.io</a><br>
<br>
Talent wins games, but team work and intelligence wins championships.<br>
Michael Jordan<br>
<br>
_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
</div></div></blockquote></div><br></div>