Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Version 48 (modified by youngk, 13 years ago) (diff)

Gentoo Linux

Platforms

    Error: Page WindowsMinGW does not exist
    Error: Page VisualStudio does not exist
    Error: Page LinuxGentoo does not exist
    Error: Page LinuxDebian does not exist
    Error: Page LinuxUbuntu does not exist
    Error: Page LinuxTardis does not exist
    Error: Page MacOSX does not exist

Edited: 18. Sep. 2008 by Oli?
Edited: 15. Sep. 2008 by Felix?
Checked: 01. Dec. 2007 by nico? with 2007.0 profile on amd64
Checked: 02. Nov. 2007 by nico? with 2007.0 profile on x86

This Tutorial assumes that you are using x86. If you are using amd64 just substitute the keyword.

Prerequisites

Orxonox uses Ogre with CEGUI for rendering, OIS for input handling, eNet for network support Boost for threading and cMake as build-system. You will have to install these packages. Every needed package is in portage.

Add USE-Flags:

# echo "dev-games/cegui devil expat" >> /etc/portage/package.use
# echo "dev-games/ogre cegui devil lua threads" >> /etc/portage/package.use

Some packages are unstable, for portage to use them do:

# echo "dev-games/ogre-1.4.5 ~x86" >> /etc/portage/package.keywords
# echo "dev-games/ois-1.0 ~x86" >> /etc/portage/package.keywords

Then, emerge the packages. CEGUI and Boost are dependencies of Ogre, so they will not be installed explicitly. TCL is also mandatory.

# emerge cmake ogre ois tcl
# CFLAGS="-fPIC" emerge enet

eNet needs to be compiled with -fPIC to be included as shared library (nico?: Dec '07).

Getting the Source Code

If you have not done so already, you need to install Subversion on your system. To do this, make sure that you have ssl included in your make.conf file:, which is normally located at /etc/make.conf:

 ...
 USE="..., ssl, ..."
 ...

Now emerge subversion:

# emerge subversion

Now proceed by following the steps described on the building page.

Development with KDevelop

If you would like to use KDevelop for coding, see this? page for further information.