(pike @ oct. 14 2004,22:39 Wrote:http://manual.xboxmediacenter.de/wakka.p...ayer&v=x0i
follow that step by step and you end up with a compiled dll! tested myself yesterday so i know it works
Quote:http://manual.xboxmediacenter.de/wakka.p...ayer&v=x0i
follow that step by step and you end up with a compiled dll! tested myself yesterday so i know it works
@ pike / jm marschall
further to pike's post, i deleted all my dir with mplayer, minsys, mingw and restarted the install from the very beginning after a reboot to be sure. so here's what i did :
1/ install mingw 3.1.0-1 (used link from online manual)
2/ install minsys 1.0.10 (used link from online manual)
3/ replaced bin and lib folders in mingw root with rar download suggested in the online manual
4/ retrieved mplayer using wincvs 1.3 (i know it's not turtoise but it does the job for xbmc nicely). win cvs indeed retrieved 27.7 mo from sourceforge...
5/ launched minsys as per xbmc online manual
6/ the ./configurexbmc works as described in the manual
7/ here comes the failure again and again (see below message i get) :
#########################################
######## please run ./configure again - it 's changed####
#########################################
make *** [config.h]error 1
i do not what what i did wrong i followed precisely the online manual (at list for the 1st part of the tutorial)
so far i did not get the 2nd part of it to work (the one from jack luck see below
--------------------------------------
latest update on:
http://10k.org/jake/xbox/howto-build-xbm...yerdll.txt
how to build mplayer.dll for xbox media center
================================= by jake luck < xbmc @ 10k . org >
tested with
--------------------------------------------------------------------------------
windows xp pro
min gw? 3.1.0–1
msys 1.0.9
xmbc/mplayer cvs tree on 2004–08–01
1) install min gw?
2) install msys, specify min gw? location
when prompted
3) copy in your xbox direct x header files into the source tree
from: program files / microsoft? xbox sdk/include
to : xbmcsys/xbox
4) modify libvo/vo_directx.c
change : #include <ddraw.h>
to : #include «xbox/ddraw.h»
5) launch msys. make sure that it is not using your cygwin's profile
your path should look something like this:
path=.:/usr/local/bin:/mingw/bin:/bin:/c/program files/ microsoft xbox
sdk/xbox/bin:/c/windows/system32:/c/windows: /c/windows/system32/wbem
6) do make in the mplayer directory
after the system has built all the object codes,
the compile will fail in the last stage. the final
error output should be :
gcc -i/e/xbox/zinst/mplayer/xbmcsys -i../libvo/ -i../../libvo -o4
-march=pentium3 -mcpu=pentium3 -pipe -ffast-math -fomit-frame-pointer -d_xbox
-d_largefile_source -d_file_offset_bits=64 -ilibmpdemux -iloader -ilibvo -o
mplayer mplayer.o mp_msg.o cpudetect.o codec-cfg.o spudec.o playtree.o
playtreeparser.o asxparser.o vobsub.o subreader.o sub_cc.o find_sub.o
m_config.o m_option.o parser-cfg.o m_struct.o unrarlib.o mixer.o
parser-mpcmd.o xbmc.o libvo/libvo.a libao2/libao2.a libmpcodecs/libmpcodecs.a
mp3lib/libmp3.a liba52/liba52.a libmpeg2/libmpeg2.a loader/driver.o
loader/vfl.o loader/afl.o loader/dshow/libds_filter.a
loader/dmo/libdmo_filter.a libaf/libaf.a libmpdemux/libmpdemux.a
input/libinput.a postproc/libswscale.a osdep/libosdep.a -llibmpdvdkit2
-lmpdvdkit libavcodec/libavcodec.a libavformat/libavformat.a -llibmad -lmad
-logg -lvorbis -logg -lxvid -lxvidcore -lm -lws2_32 -lgdi32 -lwinmm -ladvapi32
-lole32 libfaad2/libfaad2.a -lws2_32 -rdynamic -lm
e:\min gw?\bin\..\lib\gcc-lib\mingw32\3.2.3\..\..\..\..\mingw32\bin\ld.exe:
cannot find -lvorbis
gcc.exe: unrecognized option `-rdynamic'
make: *** [mplayer] error 1
7) now run the “makedll” script to generate the mplayer.dll
8) replace the mplayer.dll in your xbmc distribution with the
freshly built copy
9) if you are adding a new codec, remember also to modify the following files
in the xbmc tree to reflect your new file format and extension.
xbox media center.xml?
mplayer/codecs.conf
copyright 2004 jake luck, all rights reserved.
--------------------
@ pike : is this this part of the tutorial that i should follow to solve my problem.
sorry guys to bother you again but i 'd really like to solve this issue :-)