Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Gentoo Linux

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 your favorite IDE

CMake can create project files for KDevelop, Eclipse or Code::Blocks for coding. Click the links for further information.

Last modified 7 years ago Last modified on Apr 9, 2017, 6:01:18 PM