HOW-TO compile XBMC for Xbox from SVN - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Development (/forumdisplay.php?fid=93)
+--- Thread: HOW-TO compile XBMC for Xbox from SVN (/showthread.php?tid=5373)
HOW-TO compile XBMC for Xbox from SVN - Frodo - 2003-10-01 07:11
Details in the wiki.
- meghead - 2003-11-24 10:16
i'm playing with some stuff that would require making some changes to the mplayer code, or at least adding some additional exports to the dll. however, i can't figure out how to build the damn dll. the regular distro of mplayer only seems to support mingw or cygwin for windows, and it seems wierd that the xbox build would be using those.
could someone please give me a description - or a makefile/project file for building the mplayer.dll that is used for xbmc?
thanks in advance,
- meghead - 2003-12-07 06:24
ok, thanks to rjm i found the patch file, in the doc/ directory of the cvs (strange place but anyway...).
i got mplayer building under mingw, albeit with some strange problems with objcopy.exe. the executable successfully plays files.
next i applied the patch and rebuilt as instructed. after getting all the sundry stuff installed (except i never fully got ogg vorbis fully working so i took it out of the config.h), i managed, after solving more puzzles than most rpgs, to get an mplayer.dll built. the dll looks good and has the same exports as the original (as shown by the great depends prog in ms vc++).
now, however, when i try to run xbmc against this dll, it locks up as soon as i try to play a movie file. obviously something ain't quite right. i'm still looking into this to try to figure out what's going on, but i was wondering if anybody had any tricks they knew of to get this working? this is extremely frustrating and is standing in the way of me implementing some neat features towards this project, such as the full ff/rw feature.
i agree with figuring things out myself, but this seems like something that should not be so tough if we want people to contribute to xbmc development.
thanks in advance
- lixer - 2004-01-04 23:21
i'm getting the following when i'm trying to compile the latest cvs checkout
creating xbox image...
imagebld : warning im1029: library xonline is unapproved
imagebld : warning im1030: this image may not be accepted for certification
copying files to the xbox...
xbecopy: error x1001: could not connect to xbox ''
i did set the the solution configurations to release xbox.
i'm compliling with vs.net 2003 and december xdk.
- Farfar - 2004-01-04 23:31
you need to remove the last step in the build, select property page for xbmc and change "excluded from build" from no to yes in the xbox deployment section. unless you have a debug-xbox.
the warnings are just warnings, they just tell you that you might run in to trouble in the ms certification process.
- Donman - 2004-01-14 05:54
in creating a fresh xbmc setup it seems there are two additional directories that need to be installed:
- /xbmc/mplayer/codecs/ - you can either download the codecs from the websites listed in readme.txt, or copy them from a "released" build.
- /xbmc/skin/hifi - this directory is present in the 12-31-03 release but not current cvs. it looks like this directory was renamed to mediacenter. xbmc wouldn't start up until i copied this directory from 12-31 release.
first guess was something referencing it, but no "hifi" turned up via find in file. (figured that would be way too easy)
- Hullebulle - 2004-01-14 21:08
(donman @ jan. 14 2004,04:54 Wrote:- /xbmc/skin/hifi - this directory is present in the 12-31-03 release but not current cvs. it looks like this directory was renamed to mediacenter. xbmc wouldn't start up until i copied this directory from 12-31 release.it hasn't ben renamed. mediacenter is the official skin from the cvs and the hifi one is and addition from onkel bouncy (not in the cvs). the only reason xbmc won't start for you is that you set hifi as default in your general settings but it wasn't there when you start the fresh build (without the hifi skin).
- Donman - 2004-01-15 09:04
not sure how i changed it, but cool! thanks for the explanation.
- tangent1138 - 2004-01-16 05:01
hi-- this is my first attempt at compiling.
i have december xbox sdk, visual studio .net 2003, and i followed frodo's directions to get the source code from sourceforge through wincvs.
everything seems to work okay until i load up the solution in visual studio .net. it gives me 4 errors when it tries to load.
it says the following four things are not available:
what did i do wrong?
- b54 - 2004-01-31 16:20
i have exact the same problem. i use a german installation of visual studio 2003 .net.
whats wrong with my setup ?