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 <[email protected]> wrote: > FFmpeg is not a library. > > *From:* Carlo Santos <[email protected]> > *Sent:* Sunday, February 26, 2012 5:43 PM > *To:* [email protected] > *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 > [email protected] > http://ffmpeg.org/mailman/listinfo/libav-user > > > _______________________________________________ > Libav-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/libav-user > > -- Carlo Santos
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
