[Libav-user] Compiling using FFMPEG

Sheldon Qu quyadong at hotmail.com
Sun Feb 26 11:12:34 CET 2012


Check the library path or add the include library path.


From: Carlo Santos 
Sent: Sunday, February 26, 2012 5:54 PM
To: This list is about using libavcodec, libavformat, libavutil,libavdevice and libavfilter. 
Subject: Re: [Libav-user] Compiling using FFMPEG

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 
  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




--------------------------------------------------------------------------------
_______________________________________________
Libav-user mailing list
Libav-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20120226/e7d009bf/attachment.html>


More information about the Libav-user mailing list