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

From Official Kodi Wiki
Jump to navigation Jump to search
>Dandar3
(Add screenshot for Build.bat)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{GoToParent|Parent=XBMC_for_Xbox_specific_FAQ#Obtaining_XBMC_for_Xbox}}
{{xbmc4xbox|HOW-TO_compile_XBMC_for_Xbox_from_source_code}}
__NOEDITSECTION__
__NOTOC__
=Checking Out SVN=
'''Note:''' XBMC is open source (GPL) software and as so the source code is available for anyone to modify and/or compile (under the rules of the GPL).
==Prerequisites==
* Microsoft Windows XP operating-system installed on an x86-based computer or virtual machine.
* [http://en.wikipedia.org/wiki/Visual_C%2B%2B Microsoft Visual C++ .NET 2003] or [http://en.wikipedia.org/wiki/Microsoft_Visual_Studio#Visual_Studio_.NET_2003 Visual Studio .NET 2003] (Compiler and IDE). ''Note: VC/VS 2005 or later is not compatible with the [[XDK]]. Also note that XBMC is '''coded in C++''' (and not in a .NET programming-language as the names of these Visual Studio versions might indicate).''
*[http://www.microsoft.com/downloads/details.aspx?FamilyID=fd044a42-9912-42a3-9a9e-d857199f888e DirectX 9.0 SDK Update (Summer 2004)]
* [[XDK|Microsoft Xbox Software Development Kit (a.k.a. XDK)]]  ''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.''
* [http://tortoisesvn.net/ TortoiseSVN] (or a other [[SVN]] client of your choosing if you prefer).
 
==Getting the Source Code==
===Using TortoiseSVN===
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]
# Install TortoiseSVN
# Right click in a directory and click "SVN Checkout"
# Enter URL of repository: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/xbox in the dialogue window.
[[Image:TortoiseSVN_XBMC_Xbox.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
[[Image:XBMC Xbox Build_bat.png‎]]
===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 [http://en.wikipedia.org/wiki/Visual_C%2B%2B Microsoft Visual C++ .NET 2003] or [http://en.wikipedia.org/wiki/Microsoft_Visual_Studio#Visual_Studio_.NET_2003 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.
 
[[category:How To|Compile your own builds of XBMC]]
[[category:Inner Workings]]
[[category:Development]]

Latest revision as of 10:22, 11 December 2011

Attention.png XBMC for XBOX is not supported by xbmc anymore. Please check for updates on the related page at the xbmc4xbox wiki.