Just make sure, that your enviroment variables are set as it said in HOWTOPLAY file and
themes directory (or symbolic link to it) is set to the current directory, from you want to start Attal
We are now using qmake for building Attal.
For using qmake you must be sure that the environment variables QMAKESPEC and QTDIR are correctly sets.
For more information, read the documentation given with qt about qmake.
Note that you will need to have (at least) qt 3.x installed (lib and include files).
Note that I use gcc 3.2.2 and I haven't tested with other compilers.
Now, do the following steps:
$ qmake -o Makefile Makefile.pro
Well, evrything should be ok now.
You can launch :
- the client:
$ ./attal-client &
- the server:
$ ./attal-server &
- the ia-client:
$ ./attal-ai &
- the scenario editor:
$ ./scenario-editor &
- the theme editor:
$ ./theme-editor &
IMPORTANT NOTE: all the executables need to find the theme (medieval theme for the moment) and so the folder 'themes',
which have to contain the 'medieval' theme must be present in the current directory (where there are the binaries).
You can edit config.pro for setting some global options (for example compiling in static if you got problem with dynamic libs).
If you have some problems for compiling it, you can read INSTALL.Debian
which relates a user experience for compiling it on Debian...
If you have some problems for compiling it on MacosX, that seem not manage well dynamic libs
try to compile with staticlib, uncommenting
#CONFIG += staticlib
For different options of compilation, read comments in config.pro