[MPlayer-users] Libavcodec
Kevin DeKorte
kdekorte at yahoo.com
Fri Aug 20 21:28:24 CEST 2004
On Friday 20 August 2004 03:05 pm, Federico 'Pain' Pistono wrote:
> On Fri, 20 Aug 2004 19:07:22 +0100
>
> Martin Collins <martin at mkcollins.org> wrote:
> > On Fri, 20 Aug 2004 21:05:02 +0200
> >
> > "Federico 'Pain' Pistono" <pain at email.it> wrote:
> > > mencoder.c:82:32: libavcodec/avcodec.h: No such file or directory
> > > mencoder.c:82:32: libavcodec/avcodec.h: No such file or directory
> > > make[1]: *** [depend] Error 1 make[1]: Leaving directory
> > > `/opt/mplayer/main' make: *** [version.h] Error 2
> > >
> > >
> > > I'm using mplayer via cvs updated up to five minutes ago.
> >
> > Did you also get the ffmpeg cvs? You have to copy libavcodec and
> > libavformat from there into mplayer/main.
> >
> > Martin
>
> Yes, Martin, I got it, but I supidly forgot to copy it inside.
> Now it's recompiling correctly, it should work fine.
> The most common mistake is often the stupidest... ;-)
I use the following script to make sure I always get the current stuff... and
build it.
#build_new
cd ~/cvs/mplayer
cd ffmpeg
cvs update -PAd
./configure --enable-pp --enable-mp3lame --enable-faad --enable-a52
--enable-faac --enable-gpl
cd ~/cvs/mplayer
cd main
rm -rf libavcodec
rm -rf libavformat
cvs update -PAd
cp -r ~/cvs/mplayer/ffmpeg/libavcodec .
cp -r ~/cvs/mplayer/ffmpeg/libavformat .
./configure --enable-freetype
--with-reallibdir=/home/kdekorte/cvs/mplayer/rp9codecs --enable-live
--with-livelibdir=/home/kdekorte/cvs/mplayer/live
make
Kevin
More information about the MPlayer-users
mailing list