Archive:HOW-TO:Compile XBMC for Xbox: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>Sho
No edit summary
>Sho
m (repository URL fixed)
Line 12: Line 12:
* Install TortoiseSVN  
* Install TortoiseSVN  
* Right click in a directory and click "SVN Checkout"
* Right click in a directory and click "SVN Checkout"
* Enter URL of repository: https://svn.sourceforge.net/svnroot/xbmc/trunk/XBMC in the dialogue window. (Note this will only download main XBMC trunk. If you also want source documentation and mplayer source, omit the last "/XBMC")
* Enter URL of repository: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk/XBMC in the dialogue window. (Note this will only download main XBMC trunk. If you also want source documentation and mplayer source, omit the last "/XBMC")
[[Image:Tsvn_trunk.png]]
[[Image:Tsvn_trunk.png]]
* Click ok and wait for all the source tree to download. ''(Expect a 250-300 MB download the first time you checkout!)''
* Click ok and wait for all the source tree to download. ''(Expect a 250-300 MB download the first time you checkout!)''

Revision as of 10:03, 11 July 2007

Checking Out SVN

Prerequisites

  • Microsoft Visual C++ 2003 (Compiler and IDE) Note: VC 2005 or later is not compatible with XDK.
  • Microsoft XDK (XBox Development Kit) Note: If you installed Service Pack 1 for Visual Studio (or otherwise modified the installed files), you need to run the XDK setup with the /s flag.
  • TortoiseSVN

Getting Source

Using TortoiseSVN

If you have TortoiseSVN, you can skip the first two steps.

File:Tsvn trunk.png

  • Click ok and wait for all the source tree to download. (Expect a 250-300 MB download the first time you checkout!)

Building XBMC

Build.bat

Building with build.bat is a very simple process

  • Double click on build.bat to run the automated build process
  • The process will create a BUILD directory with your new XBMC build inside

xbmc.sln

This is the way of just building default.xbe, which is only recomended for advanced users who are debugging problems.

  • Open up the xbmc.sln file with Visual C++ 2003
  • Select Release or Debug from the Build Manager
  • Compile, and wait
  • Depending on if you selected Release or Debug, the default.xbe would be in that sub directory.