HowToBuildAriannexp: Difference between revisions

From Arianne
Jump to navigation Jump to search
Content deleted Content added
No edit summary
No edit summary
 
(18 intermediate revisions by 2 users not shown)
Line 14: Line 14:


=How to compile in Linux=
=How to compile in Linux=
It is very easy, just make sure that you are running the latest... :) %%%
It is very easy, just make sure that you are running the latest version of... :) <br>
Only joking, just make sure that you are using GCC 3.x and automake 1.7
Only joking, just make sure that you are using GCC 3.x and automake 1.7


Line 26: Line 26:
Then if everything went OK, you will have two main directories:
Then if everything went OK, you will have two main directories:
<pre>
<pre>
./AIGladiator/AIGladiator %%%
./AIGladiator/AIGladiator
This is a test client for connecting to gladiators and fighting ( for you ).
This is a test client for connecting to gladiators and fighting ( for you ).
It does nothing and is not interactive.
It does nothing and is not interactive.


./libFramework/pyarianne %%%
./libFramework/pyarianne
This directory contains the module needed to develop your own python clients.
This directory contains the module needed to develop your own python clients.
Have a look at test.py and execute it by doing
Have a look at test.py and execute it by doing

Latest revision as of 15:02, 1 February 2005

First of all, ariannexp is *NOT* a game, it is a library for developing clients of multiplayer games. Check http://arianne.sourceforge.net for the actual games.

ariannexp is a complete implementation of the network protocol described in Marauroa, in standard ISO C++, and fully tested with test cases. It uses SDL, SDL_net, cppUnit, Python and SWIG.

The main point of ariannexp is to provide a framework to connect to a Marauroa server and to allow game creation using Python as the development language.

Requirements

Before you even try to compile ariannexp please go and download

  • SDL 1.2.x
  • SDL_net 1.2.x
  • SWIG 1.13.21
  • Python 2.3

How to compile in Linux

It is very easy, just make sure that you are running the latest version of... :)
Only joking, just make sure that you are using GCC 3.x and automake 1.7

Just do:

  sh autogen.sh
  ./configure
  make

You should see no errors at all. Then if everything went OK, you will have two main directories:

  ./AIGladiator/AIGladiator
  This is a test client for connecting to gladiators and fighting ( for you ).
  It does nothing and is not interactive.

  ./libFramework/pyarianne
  This directory contains the module needed to develop your own python clients.
  Have a look at test.py and execute it by doing

  python test.py