yystar
December 24th, 2008, 15:37
Hi,
I see someone here complain compling mplayerwii from source can't success.
The following is my try for compiling mplayerwii from source. In fact, it compiles, and runs. But strange, the mplayerwii which I compiled can't seek in avi, I don't know why now.
This is what I do:
0. I asume you have a workable devkitpro env under linux
1. use such cmd to download source from google code:
svn co http://mplayerwii.googlecode.com/svn/trunk/ mplayerwii-read-only
copy libogc to your devkitpro env ( you should do some backup)
2. download MPlayer-1.0rc2.tar.bz2 from MPlayer site. use such cmd to extract it.
tar xjvf MPlayer-1.0rc2.tar.bz2
3. cd MPlayer-1.0rc2; patch -p1 < ../mplayerwii-read-only/mplayer-patch
sed -i -e 's?/c/devkitPro/devkitPPC/bin/??' config.mak
sed -i -e 's?HOST_CC = powerpc-gekko-gcc?HOST_CC = gcc?' config.mak
make
I see many warnings, but it can compile to almost the end.
4. rm mplayerwii-read-only/mplayer/*.o
rm mplayerwii-read-only/mplayer/*.a
we will use stuff we compiled ourself.
cd MPlayer-1.0rc2
cp *.o ../mplayerwii-read-only/mplayer
cp `find . -name *.a` ../mplayerwii-read-only/mplayer
5. cd mplayerwii-read-only;make
you perhaps see a error said can't find -lstream
I just rename mplayer/stream.a to mplayer/libstream.a
I see someone here complain compling mplayerwii from source can't success.
The following is my try for compiling mplayerwii from source. In fact, it compiles, and runs. But strange, the mplayerwii which I compiled can't seek in avi, I don't know why now.
This is what I do:
0. I asume you have a workable devkitpro env under linux
1. use such cmd to download source from google code:
svn co http://mplayerwii.googlecode.com/svn/trunk/ mplayerwii-read-only
copy libogc to your devkitpro env ( you should do some backup)
2. download MPlayer-1.0rc2.tar.bz2 from MPlayer site. use such cmd to extract it.
tar xjvf MPlayer-1.0rc2.tar.bz2
3. cd MPlayer-1.0rc2; patch -p1 < ../mplayerwii-read-only/mplayer-patch
sed -i -e 's?/c/devkitPro/devkitPPC/bin/??' config.mak
sed -i -e 's?HOST_CC = powerpc-gekko-gcc?HOST_CC = gcc?' config.mak
make
I see many warnings, but it can compile to almost the end.
4. rm mplayerwii-read-only/mplayer/*.o
rm mplayerwii-read-only/mplayer/*.a
we will use stuff we compiled ourself.
cd MPlayer-1.0rc2
cp *.o ../mplayerwii-read-only/mplayer
cp `find . -name *.a` ../mplayerwii-read-only/mplayer
5. cd mplayerwii-read-only;make
you perhaps see a error said can't find -lstream
I just rename mplayer/stream.a to mplayer/libstream.a