you need to link against the alsa sound libraries,<div><br></div><div>i did not know it exactly but i think it was the libasound library, please try it with the "-lasound" flag to the linker.</div><div><br></div>
<div><br>Regards,</div><div>Jan</div><div><br><div class="gmail_quote">2011/10/6 mounir younes <span dir="ltr"><<a href="mailto:mounir.younes@gmail.com">mounir.younes@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">tried your command with g++ but still having the same exception. Can someone please write a tutorial on how to write the "hello world" in ffmpeg and how to compile it?<div><div></div><div class="h5">
<br><br><div class="gmail_quote">
On Mon, Oct 3, 2011 at 9:11 PM, Jonathan Arnold <span dir="ltr"><<a href="mailto:jdarnold@buddydog.org" target="_blank">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">
<div>On Mon, 3 Oct 2011 11:36:23 +0300<br>
mounir younes <<a href="mailto:mounir.younes@gmail.com" target="_blank">mounir.younes@gmail.com</a>> wrote:<br>
<br>
> This is my code: (i got it from the internet, and modified it)<br>
> ------------------------<br>
<br>
</div>And what command line do you use to compile it? Just looks like you are<br>
forgetting some libraries. Here is my simple compile command:<br>
<br>
gcc -o tutorial01 tutorial01.c -lavutil -lavformat -lavcodec -lz -lavutil -lswscale -lm<br>
<font color="#888888"><br>
<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>
</font><div><div></div><div><br>
_______________________________________________<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">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
</div></div></blockquote></div><br></div></div></div>
<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>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><span style="color:rgb(51, 51, 51);font-family:'Lucida Grande', Helvetica, Verdana, sans-serif;font-size:12px;line-height:20px"><b><u><a href="http://codergrid.de" target="_blank">Media Encoding Cluster</a></u>, </b></span><div>
<span style="color:rgb(51, 51, 51);font-family:'Lucida Grande', Helvetica, Verdana, sans-serif;font-size:12px;line-height:20px"><b>the first Open Source Cluster Encoding Solution </b></span></div><div><span style="color:rgb(51, 51, 51);font-family:'Lucida Grande', Helvetica, Verdana, sans-serif;font-size:12px;line-height:20px"><b>for distributed Media Encoding.</b></span></div>
<br>
</div>