Massimo32 Site Admin
Joined: 11 Nov 2007 Posts: 177 Location: Bolzano, Italy
|
Posted: Sat Nov 21, 2009 1:21 am Post subject: Compile from source code in OpenSuse 11.1 / 11.2 / 11.3 |
|
|
1) Install subversion, scons and a few libraries:
Code: |
# zypper install subversion scons gcc-c++ SDL-devel SDL_image-devel boost-devel freeglut-devel ftgl-devel
|
2) Get the code from sourceforge repository:
Code: |
> svn co https://openworldsoccer.svn.sourceforge.net/svnroot/openworldsoccer/trunk ows
|
3) Compile
4) Run
Code: |
> ./ows --font-path=/usr/share/fonts/truetype
|
The configuration can be changed in two ways:
- editing ows.cfg
- using command line options, to get available options:
When a new release is available, you can simply update the code and recompile:
Code: |
$ cd ows
$ svn update
$ scons
|
|
|