XBMC will be renamed to Kodi for v14. Read here for more details

HOW-TO:Compile XBMC for Linux

From Kodi
Revision as of 04:10, 29 May 2007 by Gamester17 (Talk)

Jump to: navigation, search

This is only a copy and paste from the README.linux just to get this article started

Note! This is an initial port of the skinning tool to Linux. Later on it will include the remaining XBMC functionality. Don't expect too much, yet. For more information read the Linux port project article in this wiki.


Contents

1 Prerequisites

2 Getting the source code

# sudo apt-get install subversion
# cd $HOME
# svn checkout https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/linuxport/XBMC

3 Installing required Ubuntu packages

# sudo apt-get install make g++-4.1 gcc-4.1 libsdl1.2-dev libsdl-image1.2-dev libsdl-gfx1.2-dev libsdl-mixer1.2-dev libsdl-sound1.2-dev libsdl-stretch-dev libcdio6 libcdio-dev libfribidi0 libfribidi-dev liblzo1 liblzo-dev libfreetype6 libfreetype6-dev libsqlite3-0 libsqlite3-dev libogg-dev libsmbclient-dev libsmbclient libasound2-dev python2.4-dev python2.4

4 How to compile

4.1 OpenGL 3D version

Requires 3D GPU that has supported OpenGL 3D hardware acceleration, set bitdepth to 24bpp or 32bpp
# cd $HOME/XBMC
# make

4.2 SDL 2D version

Much much slower GUI rendering but works on all adapters and bitdepths, (only for development purposes!)
# cd $HOME/XBMC
# make sdl_2d

5 How to run

  • Take the T3CH Xbox distribution and extract it to your home directory.
  • Copy the XboxMediaCenter file that was generated by make and copy it to the same directory of default.xbe (T3CH folder).
  • Copy the .so files under $HOME/XBMC/system to their respective directories in the T3CH/system folder.
  • Rename the file under XBMC/media/Fonts/arial.ttf to Arial.ttf
  • Change directory to where you copied the exceutable and type:
    • # ./XboxMediaCenter
  • If you'd like to run the executable from another directory for debugging purposes), set XBMC_HOME to where you have XBMC dist:
    • # XBMC_HOME=/home/whatever/XBMC
    • # export XBMC_HOME
Personal tools
Namespaces

Variants
Actions
Navigation
Wiki help
Toolbox