[Libav-user] Beginner c++ compiling error

Jonathan Arnold jdarnold at buddydog.org
Mon Oct 3 20:11:38 CEST 2011

On Mon, 3 Oct 2011 11:36:23 +0300
mounir younes <mounir.younes at gmail.com> wrote:

> This is my code: (i got it from the internet, and modified it)
> ------------------------

And what command line do you use to compile it? Just looks like you are
forgetting some libraries. Here is my simple compile command: 

gcc  -o tutorial01 tutorial01.c -lavutil -lavformat -lavcodec -lz -lavutil -lswscale -lm

Jonathan Arnold        Webstream: http://hieronymus.soup.io

Talent wins games, but team work and intelligence wins championships.
Michael Jordan

More information about the Libav-user mailing list