- November 14, 2004
- 614
- 7
Hi,
Well, the subject is a bit deceptive, but here's a little tutorial on how to compile MediaPortal with as little as possible pieces of software installed:
Get the software:
Initial checkout
Ok, now the source should be available in c:\mediaportal .
Update local working copy
After the initial checkout, it should be sufficient to execute the following in order to update your local working copy:
If you run this little batch file, then after a while your local working copy should be updated with the SVN source tree. You can update later on with the same batch file.
Build MediaPortal:
After updating, it's time for compilation. I just put the command into a batch file so I don't have to remember the syntax:
After the build is successfully completed, your freshly compiled MediaPortal is available in C:\mediaportal\xbmc\bin\release\.
That's it.
Kind regards,
Michel
EDIT: added solution filename to build batchfile...
EDIT 01-04-2006: updated howto for SVN
Well, the subject is a bit deceptive, but here's a little tutorial on how to compile MediaPortal with as little as possible pieces of software installed:
Get the software:
- - Microsoft .NET Framework 2.0 (you should already have this one installed)
- SVN tools (or any SVN client you prefer)
- NUnit Framework for C# (required; make sure you get the one for .NET 2.0)
Initial checkout
Code:
@echo off
c:
cd\
svn checkout https://svn.sourceforge.net/svnroot/mediaportal/trunk/mediaportal
Ok, now the source should be available in c:\mediaportal .
Update local working copy
After the initial checkout, it should be sufficient to execute the following in order to update your local working copy:
Code:
@echo off
pushd c:\
svn update mediaportal
popd
Build MediaPortal:
After updating, it's time for compilation. I just put the command into a batch file so I don't have to remember the syntax:
Code:
@echo off
pushd c:\mediaportal
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\msbuild.exe mediaportal.sln /t:Rebuild /p:Configuration=Release
popd
That's it.
Kind regards,
Michel
EDIT: added solution filename to build batchfile...
EDIT 01-04-2006: updated howto for SVN