File: INSTALL

package info (click to toggle)
plee-the-bear 0.4.1-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 105,316 kB
  • ctags: 10,258
  • sloc: lisp: 314,071; cpp: 69,621; xml: 2,117; sh: 465; makefile: 80
file content (82 lines) | stat: -rw-r--r-- 2,264 bytes parent folder | download
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
Below are some informations on how to compile and run Plee the Bear

COMPILING PLEE
--------------

First of all, check that you have installed the following libraries:

 - libclaw (>= 1.5.4),
 - libsdl (>= 1.2.8),
 - libsdl-mixer (>=1.2.6),
 - libboost-filesystem (>= 1.33),
 - libboost-thread (>= 1.33)

and optionally:

 - wxWidgets (>= 2.8)

To compile the program, you will need CMake (>= 2.4) and a C++ compiler.

Type

  cmake .
  make

to compile the program. The game is now ready to run. You can type

  make install

as super user to install the game, but it is not an obligation.

RUNNING PLEE
------------

If you have compiled the game from source, just go to the 
'plee-the-bear/game' directory and type

  ./plee-the-bear

If you have installed Plee from a package, or with a 'make install', just type

  plee-the-bear

COMPILATION OPTIONS
-------------------

The following options can be passed to the cmake command to control how 
the compilation is done.

  -DCMAKE_INSTALL_PREFIX=/some/path
    Change the installation root path to /some/path

  -DCMAKE_BUILD_TYPE={release,debug}
    Compile with all optimizations (release) or with debugging 
    informations (debug)

  -DBEAR_NO_EDITOR=TRUE
    Tell to not compile the editors (default is to compile)

  -DBEAR_INSTALL_EXECUTABLE_DIR=some/path
    The directory where the executables of the Bear Engine will be 
    installed, relative to CMAKE_INSTALL_PREFIX (default is 'bin')

  -DBEAR_INSTALL_LIBRARY_DIR=some/path
    The directory where the libraries of the Bear Engine will be 
    installed, relative to CMAKE_INSTALL_PREFIX (default is 'lib', or 
    same as BEAR_INSTALL_EXECUTABLE_DIR under Windows)

  -DPTB_INSTALL_DATA_DIR=some/path
    The directory where the game resources will be installed, relative 
    to CMAKE_INSTALL_PREFIX (default is share/plee-the-bear)

  -DPTB_INSTALL_CUSTOM_LIBRARY_DIR=some/path
    The directory where the game libraries (the item classes) will be 
    installed, relative to CMAKE_INSTALL_PREFIX (default is 
    BEAR_INSTALL_LIBRARY_DIR/plee-the-bear)

CONTACT
-------

If you experience any problem, please contact us to plee-the-bear@gamned.org.
Do not forget to include a description of your architecture and the error
message you had.