Build from SVN

From X-Moto
Revision as of 10:06, 23 November 2008 by Nadenislamarre (talk | contribs) (Dependencies)
Jump to: navigation, search

Català - Español - Norsk


X-Moto uses SVN to develop the game. With SVN files, you have access to new features and... new bugs. Use svn files only if you know what you are doing. otherwise just go download the stable release from the main page

You must know that sources downloaded from SVN should not be compiled sometimes !

Download latest files with SVN

The first time you download the svn version you will need to download all the files under "xmoto/" :

svn co svn:// xmoto

or if you are a developer

svn co svn+ssh://$ xmoto

(you can upload you public ssh keys to the root of your ftp account on ftp://$ in a file called ssh_keys)

Note that there are a lot of graphical clients to use svn if you're afraid of the command line.

Update the files

When you have already download from svn once, you can update the files with this command :

# svn update

Web access

Notification via rss



X-Moto must have the following to compile properly :

  • Latest gcc and g++
  • SDL development libraries and headers
  • OpenGL development libraries and headers
  • SDL_mixer with headers
  • libjpeg with headers
  • libpng with headers
  • zlib with headers
  • libbzip2 with headers
  • liblua50 with headers
  • liblualib50 with headers
  • libode0 with headers
  • libcurl3 with headers
  • automake >= 1.9
sudo aptitude install subversion build-essential automake1.9 libsqlite3-dev libjpeg62-dev libbz2-dev libsdl-mixer1.2-dev liblua5.1-0-dev libode0-dev zlib1g-dev libpng12-dev libglu1-mesa-dev libsdl-ttf2.0-dev libcurl3-openssl-dev

To build windows version from linux, you'll need the following extra packages

sudo aptitude install tofrodos nsis mingw32
Use mingw32 from gusty for ubuntu otherwise, .exe built are instables

But with the new features, new dependencies can be asked.

Ok, I can build it !

$ cd xmoto
$ sh ./bootstrap
$ ./configure
$ make
# make install

Right now, you can start xmoto with "src/xmoto".

If sh ./bootstrap failed, you have to edit the ./bootstrap file manually:

aclocal -I config $ACLOCAL_FLAGS\
&& automake --gnu --add-missing --copy \

so it looks like that:

aclocal-1.9 -I config $ACLOCAL_FLAGS\
&& automake-1.9 --gnu --add-missing --copy \

Doesn't work ?

xmoto.bin not found !

You probably reconfigure without making clean. Do:

make clean
make install

Need help ?

Join us on IRC, channel #xmoto on netrusk irc://