Joined: Feb 24, 2005 Posts: 17 Location: Toulouse, France
Posted: Fri Sep 30, 2005 9:16 pm Post subject: Tutorial: How to compile XBMC
Compiling XBMC
For compiling xbmc you'll need :
- The XBMC source code version from CVS, (use a CVS-client like WinCVS or TortoiseCVS to download it).
(Note! if you want to be sure you get all new files then do "CVS Checkout" instead of "CVS Update").
- Visual Studio.NET 7.1 (2003)
(FAQ: Question; Can VC++ 6.0 compile XBMC? Answer; No)
- Microsoft Xbox SDK (XDK) 5778 or later
(FAQ: Question; Can older XDK compile XBMC? Answer; No)
-Install Visual Studio.NET
-When installing VS.NET. Make sure to install all C++ stuff
-Then install the XDK
-Make sure to do a full install of the XDK!!! Minimal or customized install wont work
When thats all installed, startup VS.NET and (via File->Open Solution) open the XBMC solution (xbmc.sln) .
In the drop down box choose "Xbox Release".
Then Rebuild the entire thing using Build->Rebuild solution
After a while things should b compiled & ready so its time for:
NOTE. Dont worry about the following warnings which appear at the end of the build. They are normal and can be ignored
Code Sample
Creating Xbox Image...
IMAGEBLD : warning IM1029: library XONLINE is unapproved
IMAGEBLD : warning IM1030: this image may not be accepted for certification
Copying files to the Xbox...
Installing XBMC->xbox
- make a directory on your xbox, lets say e:\apps\xbmc
- Copy the following files & directories from your pc to your
xbox:
Quote
next you prolly need to edit/configure the xboxmediacenter.xml file. and start it up
HOW-TO get XBMC source code from SourceForge with WinCVS?
- First download latest WinCVS, install it, then start WinCVS, here's how it works:
- Choose Create->Checkout Module and fill in the details bellow.
- Checkout Settings;
Module name and path on the server: "XBMC"
Local folder to checkout to: Here fill in a local directory and it will be created for you, like ex: "c:\xbmc"
next go to
- General;
Authentication
pserver
Path
/cvsroot/xbmc
Host Address
cvs.sourceforge.net
Username
anonymous
CVSROOT
anonymous@cvs.sourceforge.net:/cvsroot/xbmc
the hit OK and voila you'll get all the sources
Note! Login with (in addition note that the modules is : XBMC, plus also note it's all case sensitive);
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/xbmc login
cvs d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/xbmc co xbmc
or try;
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/xbmc co XBMC
Tip! For people who having VS .NET 7.0 (2002) instead of 7.1 (2003) you might be able to compile XBMC if you do this simple procedure;
Open xbmc.sln and change "Version 8.00" to "Version 7.00". Next open all .vcproj files and change Version="7.10" to Version="7.00".
Next open the Configuration Manager from the build menu and select "Xbox Release" from the selectbox, then Build->Rebuild solution.
PS! Again, if you want to be sure that you are getting all new files then do "CVS Checkout" instead of "CVS Update".
Also SourceForge is running the anonymous account against a backup server, so you will get aprox 4 hours old sources.
Frodo
some keywords to help find this badboy with search:
XDK SDK COMPILE COMPILING SOURCE BUILD CVS VISUAL STUDIO .NET TORTOISE
Microsoft Visual Studio .NET 2003
Make XBMC (Visual Studio)
Microsoft Xbox SDK 5849 (December)
Make XBMC (Xbox SDK)
1. Install Microsoft Visual Studio
XBMC requires Visual Studio .NET 2003 in order to compile. No other version will work. You must perform a *full* install of Visual C++, the other components are optional.
2. Install the Xbox SDK 5849
XBMC requires version 5778 or later of the Xbox SDK in order to compile (5849 is recommended). You must perform a *full* install of the Xbox SDK to add support for compiling Xbox binaries.
3. Configure the script
The script which compiles XBMC is called "MakeXBMC.bat". Before
running it you must edit some basic options.
Open the file in a text editor and look for the following line. Check that it reflects the latest
point release of XBMC:
SET VERSION=1.1.0
Next, you may wish to change this line to something personal to identify your builds:
SET TAG=[Anonymous]
Finally, find this line and change it to reflect the path to devenv.exe on your system:
SET NET=D:\Program Files\Visual Studio .NET\Common7\IDE\devenv.exe
If you are running Windows 9x you will also need to set the %MM%, %DD%, %YYYY% and %HOME% variables
manually. They are the month, day, year and directory from which the script is being run,
respectively.
To include extra files or directories in the final release, place them in the \Include subdirectory.
A few files are already bundled in this package to add support for KMLbrowse, additional G-Force
visualizations and all available codecs.
If you want to add a comment to the RAR file when compressing a release, put it in a file named "comment.txt" in the script's root directory.
4. Run the Script
When you run MakeXBMC.bat, you will be presented with the following options. Press the highlighted
letter and hit "Enter" to begin the build process.
[Q]uick Download any changed files in the XBMC source.
Download the Project Mayhem AQTbrowser, KMLbrowse and Webserver skins if they aren't cached locally.
Compile a new build of XBMC.
Prepare a release in the \Release subdirectory.
[F]ull Delete and re-download the XBMC source and Project Mayhem AQTbrowser, KMLbrowse and
Webserver skins.
Compile a new build of XBMC.
Prepare a release in the \Release subdirectory.
Compress the release to a date-tagged .RAR in the \Builds subdirectory.
[C]ompress Compress the files in the \Release subdirectory to a date-tagged .RAR in the \Builds subdirectory.
Unless you have broadband and a fast computer the build process can take a while to complete,
especially the first time you run it. Some steps may not appear to be doing anything, please be patient.
Thanks to the XBMC developers for this truly inspired piece of software!
The script I can upload it here if anyone wants.
Kaotik _________________ Xbox V 1.5
Smartxx
Smartxx OS 3403
M8 Plus
XBMC 30-10-05
Xlink Kay 7
VoipBuster=kaotikpt
Last edited by Kaotik on Sat Oct 15, 2005 7:23 pm; edited 1 time in total
noobsoftmodder Xbox-HQ Member
Xbox Version: Xbox V1.3 Modded: SoftMod
Joined: Jun 15, 2005 Posts: 96
Posted: Mon Oct 03, 2005 10:28 pm Post subject:
were can i find this CVS build to DL?( 2005-09-30 ) I tried torrent, and xbins cant find it there. Can someone direct me where i can find this build. _________________
Xbox V1.3
Maxtor 250gig HDD
Xbox Media Center
Softmodded with SID 3.00
Kaotik Xbox-HQ User
Xbox Version: Xbox V1.5 Modded: Smartxx
Joined: Feb 24, 2005 Posts: 17 Location: Toulouse, France
Posted: Tue Oct 04, 2005 5:15 pm Post subject:
There is already another. By CCR CVS Build 02/10/2005 _________________ Xbox V 1.5
Smartxx
Smartxx OS 3403
M8 Plus
XBMC 30-10-05
Xlink Kay 7
VoipBuster=kaotikpt
jiggysmb Xbox-HQ Elite Member
Xbox Version: Xbox V1.5 Modded: Smartxx
Joined: Aug 18, 2004 Posts: 488 Location: Baltimore
Posted: Tue Oct 04, 2005 5:51 pm Post subject:
Im pretty sure the newest one is in the VIP Downloads section. _________________ LED Rings $6 (doesnt include LEDs) LED ring pic
|
All times are GMT |Page 1 of 1
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum