Difference between revisions of "Build from SVN"

From X-Moto
Jump to: navigation, search
m (Spelling, Grammer fixes.)
Line 4: Line 4:
  
 
X-Moto uses SVN to develop the game. With SVN files, you have access to new features and... new bugs.
 
X-Moto uses SVN to develop the game. With SVN files, you have access to new features and... new bugs.
Use them only if you know what you do.
+
Use svn files only if you know what you are doing. otherwise just go download the stable release from the main page [http://xmoto.sf.net]
  
 
You must know that sources downloaded from SVN should not be compiled sometimes !
 
You must know that sources downloaded from SVN should not be compiled sometimes !
Line 12: Line 12:
 
=== Download latest files with SVN ===
 
=== Download latest files with SVN ===
  
For the first time, download all the files under "xmoto/" :
+
The first time you download the svn version you will need to download all the files under "xmoto/" :
  
 
svn co svn://svn.tuxfamily.org/svnroot/xmoto/xmoto/trunk xmoto
 
svn co svn://svn.tuxfamily.org/svnroot/xmoto/xmoto/trunk xmoto
  
  Note that there are a lot of graphical client to use svn if you're afraid by command line
+
  Note that there are a lot of graphical clients to use svn if you're afraid of the command line.
  
=== Update our files ===
+
=== Update the files ===
  
When you already download all we need, you can update with this command :
+
When you have already download from svn once, you can update the files with this command :
  
 
  # svn update
 
  # svn update
Line 34: Line 34:
 
=== Dependencies ===
 
=== Dependencies ===
  
X-Moto must have the following to compile :
+
X-Moto must have the following to compile properly :
  
 
* Latest gcc and g++
 
* Latest gcc and g++

Revision as of 21:13, 17 February 2007

Català - Español - Norsk

SVN ?

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 [1]

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

[2]

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://svn.tuxfamily.org/svnroot/xmoto/xmoto/trunk xmoto

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

http://viewvc.tuxfamily.org/svn_xmoto_xmoto

Notification via rss

http://svnweb.tuxfamily.org/rss.php?repname=xmoto+%28xmoto%29&path=%2F&rev=0&sc=0&isdir=1

Build

Dependencies

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

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 "./xmoto". If you didn't do the # make install step, you can launch the game with $ (cd bin; ../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 ?

Join us on IRC