File: INSTALL

package info (click to toggle)
attal 0.9.2-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,992 kB
  • ctags: 5,972
  • sloc: cpp: 44,510; sh: 134; makefile: 45
file content (48 lines) | stat: -rw-r--r-- 1,650 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Binaries:

    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

Sources:

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
$ make

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

in config.pro

For different options of compilation, read comments in config.pro