[Libav-user] Compiling using FFMPEG

Carlo Santos moonseraph128 at gmail.com
Sun Feb 26 10:43:00 CET 2012

I am using Ubuntu 11.04 Natty Narwhal and have installed FFMPEG based on
the instructions found here:


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20120226/c9e97e62/attachment.html>

More information about the Libav-user mailing list