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

From Official Kodi Wiki
Jump to navigation Jump to search
>Gamester17
>Gamester17
Line 9: Line 9:
==Getting the Source Code==
==Getting the Source Code==
===Using TortoiseSVN===
===Using TortoiseSVN===
If you have TortoiseSVN, you can skip the first two steps.
If you already have installed TortoiseSVN then you can skip the first two steps below.
* Get TortoiseSVN installer from [http://tortoisesvn.tigris.org/ the TortoiseSVN site]
# Get TortoiseSVN installer from [http://tortoisesvn.tigris.org/ the TortoiseSVN site]
* 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://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")
# 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 the full source documentation and [[MPlayer]] source, then omit the last "/XBMC")
[[Image:TortoiseSVN Xbmc.png]]
[[Image:TortoiseSVN Xbmc.png]]
* Click ok and wait for all the source tree to download. ''(Expect a 250-300 MB download the first time you checkout!)''
* Lastly click "''OK''" and wait for all the source tree to download. ''(Expect a 250-300 MB download the first time you checkout!)''
 
==Building XBMC==
==Building XBMC==
===Build.bat===
===Build.bat===

Revision as of 11:21, 21 January 2009

Checking Out SVN

Prerequisites

Getting the Source Code

Using TortoiseSVN

If you already have installed TortoiseSVN then you can skip the first two steps below.

  1. Get TortoiseSVN installer from the TortoiseSVN site
  2. Install TortoiseSVN
  3. Right click in a directory and click "SVN Checkout"
  4. 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 the full source documentation and MPlayer source, then omit the last "/XBMC")

File:TortoiseSVN Xbmc.png

  • Lastly 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 Microsoft Visual C++ .NET 2003 or Visual Studio .NET 2003.
  • Select "Release" or "Debug" from the Build Manager (depending on which type of build you are making).
  • Select "Compile", and then wait for the compiling to complete.
  • Depending on if you selected Release or Debug, the default.xbe would be in that sub directory.