Archive:HOW-TO:Compile XBMC for Xbox
It is easy to download and compile your own build of XBMC, assuming that you have the proper tools to do so. This tutorial will show you how using Eclipse, which is an easy, user-friendly way to get the lastest source code from CVS and compile it. In order to use this tutorial, you will need the following software:
- Microsoft Visual Studio 2003 (VS2003)
- Microsoft XDK (Xbox Developer Kit)
- Eclipse SDK, available here This tutorial was written using version 3.1.2
Configuring Eclipse
Selecting your WorkspaceWhen you first launch Eclipse, it will prompt you to choose your workspace. This is where the downloaded source code will be saved to on your computer. Your completed build will also be saved here. After choosing your workspace, the welcome screen will appear. Select the arrow in the upper right-hand corner of the screen to proceed to the workbench. |
Setting Up Your ProjectOnce you reach the workbench, select File->New->Project and the New Project Wizard will appear. Then, choose Checkout Projects from CVS and then press Next. |
Configuring the CVS Repository LocationEnter the following information:
Then click Next. |
Select Your ModuleChoose Use an Existing Module, select XBMC and click Next. |
Compiling Your Build
Once the download has completed, you should see the latest source in tree form on the left side of the screen.
Choose Run->External Tools->External Tools from the menu.
Then choose Apply, then Run. Eclipse will then begin to compile your build. You should see it working in the Console window in the bottom right-hand corner of your screen. This will take a while to complete. Build Succeeded! View the build log in your HTML browser? [y/n] At this point, your build is ready to install on your Xbox. You can find it in the BUILD folder located in the folder that you defined as your workspace. It is also available as a RAR archive in your workspace folder. |
Updating Your Source Code and Compiling a New Build
It is not necessary to take all of the previous steps to compile a new build. Simply right-click >XBMC at the top of the tree view and choose Compare With->Latest From HEAD. This will open the Team Synchronizing View. Then, right-click on your project and choose Override and Update.
To Compile the new version, simply choose Run->External Tools->XBMC Builder.