Open World Soccer Forum Index Open World Soccer
Community Forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Compile from source code in Fedora 12 / 13 / 14 / 15

 
Post new topic   Reply to topic    Open World Soccer Forum Index -> Programming
View previous topic :: View next topic  
Author Message
Massimo32
Site Admin


Joined: 11 Nov 2007
Posts: 177
Location: Bolzano, Italy

PostPosted: Fri Nov 20, 2009 3:01 pm    Post subject: Compile from source code in Fedora 12 / 13 / 14 / 15 Reply with quote

1) Install compiler, subversion, scons and a few libraries:
Code:

# yum install gcc-c++ subversion scons SDL-devel SDL_image-devel boost-devel ftgl-devel


2) Get the code from sourceforge repository:
Code:

$ svn co https://openworldsoccer.svn.sourceforge.net/svnroot/openworldsoccer/trunk ows


3) Configure the path of system's fonts.
Code:

$ cd ows
$ echo "font-path = /usr/share/fonts/dejavu/" >> ows.cfg


4) Compile
Code:

$ scons


5) Run
Code:

$ ./ows


The configuration can be changed in two ways:
- editing ows.cfg
- using command line options, to get available options:
Code:

./ows --help


When a new release is available, you can simply update the code and recompile:
Code:

$ cd ows
$ svn update
$ scons
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Open World Soccer Forum Index -> Programming All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group
Get Open World Soccer at SourceForge.net. Fast, secure and Free Open Source software downloads