[Libav-user] Compiling using FFMPEG

Sheldon Qu quyadong at hotmail.com
Sun Feb 26 10:47:10 CET 2012

FFmpeg is not a library.

From: Carlo Santos 
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:  


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

More information about the Libav-user mailing list