Compiling mplayer.dll
#1
Hi all,

I'm trying to compile the mplayer.dll. I' using:
- mplayer CVS checkout 2006-09-02
- MinGW-5.0.3 (Current, Full)
- gcc-core-3.4.5-20060117-1
- MSYS-1.0.11-2004.04.30-1

The make process stops with following error:
Code:
make[1]: *** No rule to make target `demux_aac.o', needed by `libmpdemux.a'.  Stop.
make[1]: Leaving directory `/d/temp/SVN/xbmc/mplayer/mplayer/libmpdemux'
make: *** [libmpdemux/libmpdemux.a] Error 2

Hope someone can help.

Best regards,

Monk
Reply
#2
cvs update and try again... i had forgotten to add that file
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
Thanks for this fix one. Alas, now I hit
Code:
dvd_reader.c:50: error: conflicting types for 'gettimeofday'
c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/time.h:40: error: previous declaration of 'gettimeofday' was here
dvd_reader.c:50: error: conflicting types for 'gettimeofday'
c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/time.h:40: error: previous declaration of 'gettimeofday' was here
make[1]: *** [dvd_reader.o] Error 1
make[1]: Leaving directory `/d/temp/SVN/xbmc/mplayer/mplayer/libmpdvdkit2'
make: *** [libmpdvdkit2/libmpdvdkit.a] Error

Best regards,

Monk
Reply
#4
that i'm not sure what is causing. looks to be some conflicts in your mingw env. think you'll have to figure that one out yourself.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#5
Thanks for your help. It was indeed an env issue. I installed the environment mentioned here and it works.
In some Google groups this error is mentioned in the context of MinGW like:
Quote:I added this inside the "#ifdef __MINGW32__" section to be sure it
doesn't affect the other compilers.

(As noted in my other mail, the error that you reported is only seen
with mingw-runtime-3.3 or later. This change fixes that error without
affecting builds with earlier versions, so it looks fine to me.)
Granted, not the version we talk about but also not the only report concerning this and not solution for a "not so much of coder" like me.

Best regards,

Monk
Reply
#6
is it possible to compile mplayer with the --enable-live configure?
read the xbmc online-manual, faq and search the forums before posting! do not e-mail the xbmc-team asking for support!
read/follow the forum rules! note! team-xbmc never have and never will host or distribute ms-xdk binaries/executables!
Reply
#7
i was able to compile mplayer.dll with live555.com support, it adds an extra 0.4 meg to the file size, i havnt tested it yet because im at work. is there any way to test it on pc?
read the xbmc online-manual, faq and search the forums before posting! do not e-mail the xbmc-team asking for support!
read/follow the forum rules! note! team-xbmc never have and never will host or distribute ms-xdk binaries/executables!
Reply
#8
that's interesting.. there was someone who tried that a while back but never succeded. no there is no way to test the dll outside the xbox sadly.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#9
ok ill try it tonight when i get home, i made the dll fine, and showed that it included/linked to the live lib
read the xbmc online-manual, faq and search the forums before posting! do not e-mail the xbmc-team asking for support!
read/follow the forum rules! note! team-xbmc never have and never will host or distribute ms-xdk binaries/executables!
Reply
#10
i've uploaded it to here if you wana test it. i just compiled live555 in mingw and added it to the configurexbmc file.
read the xbmc online-manual, faq and search the forums before posting! do not e-mail the xbmc-team asking for support!
read/follow the forum rules! note! team-xbmc never have and never will host or distribute ms-xdk binaries/executables!
Reply
#11
what does having live555.com support add? more streaming support?
Reply
#12
well check out http://www.live555.com my main goal will be able to use the xbmc as a client for media portal
read the xbmc online-manual, faq and search the forums before posting! do not e-mail the xbmc-team asking for support!
read/follow the forum rules! note! team-xbmc never have and never will host or distribute ms-xdk binaries/executables!
Reply
#13
hi i have checked out my mplayer.dll and had the same problem as the other guy, he seemed to think it was winsock that was playing up, so ive changed it abit to match the libmpdemux winsock stuff could someone test it, if not ill wait till i get home from work, heres a rtsp stream:

rtsp://hollywood.ethz.ch/net/streamingcheck/mpeg4test.mp4
and the dll:
Mplayer DLL
read the xbmc online-manual, faq and search the forums before posting! do not e-mail the xbmc-team asking for support!
read/follow the forum rules! note! team-xbmc never have and never will host or distribute ms-xdk binaries/executables!
Reply
#14
has anyone tried or got close to making a mplayer.dll for xbmc that is a newer version than pre6?
read the xbmc online-manual, faq and search the forums before posting! do not e-mail the xbmc-team asking for support!
read/follow the forum rules! note! team-xbmc never have and never will host or distribute ms-xdk binaries/executables!
Reply
#15
no not really.. a few of the demuxers in our version is updated thou. however there are some major annoying changes in libvo wich make's it hard to support both a new and old mplayer.dll in xbmc.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply

Logout Mark Read Team Forum Stats Members Help
Compiling mplayer.dll0