[Libav-user] Compiling using FFMPEG
Carlo Santos
moonseraph128 at gmail.com
Sun Feb 26 10:54:33 CET 2012
But I am still getting the same error when I use the following command:
>> g++ test.cc -o test -Lhome/carlo/ffmpeg/libavformat/ -lavformat
On Sun, Feb 26, 2012 at 5:47 PM, Sheldon Qu <quyadong at hotmail.com> wrote:
> FFmpeg is not a library.
>
> *From:* Carlo Santos <moonseraph128 at gmail.com>
> *Sent:* Sunday, February 26, 2012 5:43 PM
> *To:* libav-user at ffmpeg.org
> *Subject:* [Libav-user] Compiling using FFMPEG
>
> I am using Ubuntu 11.04 Natty Narwhal and have installed FFMPEG based on
> the instructions found here:
>
> >>http://ubuntuforums.org/showthread.php?t=786095
>
> I am trying to compile a .CC file using G++ using the following command:
>
> >> g++ -Lhome/carlo/ffmpeg/ -lffmpeg test.cc -o test
>
> But I am getting the following error:
>
> >>test.cc:2:27: fatal error: ffmpeg/avformat: No such file or directory
> compilation terminated.
>
> What am I doing wrong?
>
> --
> Carlo Santos
>
> ------------------------------
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
>
--
Carlo Santos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20120226/054d3559/attachment.html>
More information about the Libav-user
mailing list