<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>Check the library path or add the include library path.</DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV style="FONT: 10pt tahoma">
<DIV><FONT size=3 face=Calibri></FONT> </DIV>
<DIV><FONT size=3 face=Calibri></FONT> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=moonseraph128@gmail.com
href="mailto:moonseraph128@gmail.com">Carlo Santos</A> </DIV>
<DIV><B>Sent:</B> Sunday, February 26, 2012 5:54 PM</DIV>
<DIV><B>To:</B> <A title=libav-user@ffmpeg.org
href="mailto:libav-user@ffmpeg.org">This list is about using libavcodec,
libavformat, libavutil,libavdevice and libavfilter.</A> </DIV>
<DIV><B>Subject:</B> Re: [Libav-user] Compiling using FFMPEG</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">But
I am still getting the same error when I use the following command:
<DIV> </DIV>
<DIV>
<DIV>>> g++ test.cc -o test -Lhome/carlo/ffmpeg/libavformat/
-lavformat</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV class=gmail_quote>On Sun, Feb 26, 2012 at 5:47 PM, Sheldon Qu <SPAN
dir=ltr><<A
href="mailto:quyadong@hotmail.com">quyadong@hotmail.com</A>></SPAN>
wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<DIV dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; FONT-SIZE: 12pt">
<DIV>FFmpeg is not a library.</DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV><B>From:</B> <A title=moonseraph128@gmail.com
href="mailto:moonseraph128@gmail.com" target=_blank>Carlo Santos</A> </DIV>
<DIV><B>Sent:</B> Sunday, February 26, 2012 5:43 PM</DIV>
<DIV><B>To:</B> <A title=libav-user@ffmpeg.org
href="mailto:libav-user@ffmpeg.org" target=_blank>libav-user@ffmpeg.org</A>
</DIV>
<DIV><B>Subject:</B> [Libav-user] Compiling using FFMPEG</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV>
<DIV class=h5>
<DIV class=gmail_quote>I am using Ubuntu 11.04 Natty Narwhal and have
installed FFMPEG based on the instructions found here:
<DIV> </DIV>
<DIV>>><A href="http://ubuntuforums.org/showthread.php?t=786095"
target=_blank>http://ubuntuforums.org/showthread.php?t=786095</A>
<DIV> </DIV>
<DIV>I am trying to compile a .CC file using G++ using the following
command:<BR>
<DIV> </DIV>
<DIV>>> g++ -Lhome/carlo/ffmpeg/ -lffmpeg test.cc -o test</DIV>
<DIV> </DIV>
<DIV>But I am getting the following error:</DIV>
<DIV>
<DIV> </DIV>
<DIV>
<DIV>>>test.cc:2:27: fatal error: ffmpeg/avformat: No such file or
directory compilation terminated.</DIV></DIV>
<DIV> </DIV>
<DIV>What am I doing wrong?</DIV></DIV></DIV></DIV></DIV>
<DIV> </DIV>-- <BR>Carlo Santos<BR><BR></DIV></DIV>
<HR>
_______________________________________________<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></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> </DIV>-- <BR>Carlo Santos<BR><BR></DIV>
<P>
<HR>
_______________________________________________<BR>Libav-user mailing
list<BR>Libav-user@ffmpeg.org<BR>http://ffmpeg.org/mailman/listinfo/libav-user<BR></DIV></DIV></DIV></BODY></HTML>