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

From Official Kodi Wiki
Jump to navigation Jump to search
>Bizzeh
No edit summary
>XLoial
m (cvs -> svn, using TortoiseSVN)
Line 1: Line 1:
__NOTOC__
__NOTOC__
=Checking Out CVS=
=Checking Out SVN=
==Prerequisites==
==Prerequisites==
* Microsoft Visual C++ 2003 (Compiler and IDE)
* Microsoft Visual C++ 2003 (Compiler and IDE) ''Note: VC 2005 or later is not compatible with XDK.''
* Microsoft XDK (XBox Development Kit)
* Microsoft XDK (XBox Development Kit)
* TortoiseCVS
* TortoiseSVN
==Getting Source==
==Getting Source==
===Using TortoiseCVS===
===Using TortoiseSVN===
If you have TortoiseCVS, you can skip the first two steps.
If you have TortoiseSVN, you can skip the first two steps.
* Get TortoiseCVS installer from [http://www.tortoisecvs.org/ the TortoiseCVS site]
* Get TortoiseSVN installer from [http://tortoisesvn.tigris.org/ the TortoiseSVN site]
* Install TortoiseCVS
* Install TortoiseSVN
* Right click in a directory and click "CVS Checkout" and it will present this screen
* Right click in a directory and click "SVN Checkout"
[[Image:Tcvs empty.png]]
* 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")
* Fill in the CVSROOT with ":pserver:[email protected].sourceforge.net:/cvsroot/xbmc" which will automaticaly fill in several of the other box's for you.
[[Image:Tsvn_trunk.png]]
* Fill in the Module with "XBMC" which will give you a box that looks like:
* Click ok and wait for all the source tree to download. ''(Expect a 250-300 MB download the first time you checkout!)''
[[Image:Tcvs full.png]]
* Click ok and wait for all the source tree to download
==Building XBMC==
==Building XBMC==
===Build.bat===
===Build.bat===

Revision as of 22:43, 22 November 2006

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)
  • 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.