forked from anura-engine/anura
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
47 lines (36 loc) · 1.54 KB
/
INSTALL
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
Prerequisites:
You need a recent compiler, because of the use of C++11 features in the engine. The minimum
required version of GCC is 4.8. Versions of clang post 3.1 should work as well. There are build
files for MSVC (requires 2013 desktop edition) for windows and Xcode (requires 4.6 or later).
You'll need to have these libraries with equivalent development versions to
build the Anura engine:
boost_iostreams >= 1.50.0
boost_filesystem >= 1.50.0
boost_regex >= 1.50.0
boost_asio >= 1.50.0
boost_system >= 1.50.0
libsdl >= 2.0.0
libsdl-image >= 2.0.0 (with png support)
libsdl-mixer >= 2.0.0 (with Vorbis support)
libsdl-ttf >= 2.0.12
gl
glew
libz
Building:
It is recommended to install the program 'ccache' as this can considerably
speed up build times for subsequent builds. This is however not required.
To build, type 'make'. The Makefile will probably work. :) If it doesn't you
may have to tweak it for your platform. The executable 'anura' will be
created which you can run.
To access the level editor, press CTRL-E during the game.
Have fun!
Building on Ubuntu 13.10
------------------------
The following are some specific instructions for setting up the prequisites for anura on Ubuntu 13.10
sudo apt-get install build-essential ccache git libboost1.53-all-dev libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libfreetype6-dev mercurial autoconf libglew-dev libpng12-dev liblua5.2-dev
hg clone http://hg.libsdl.org/SDL_ttf
cd SDL_ttf
hg update "release-2.0.12"
./autogen.sh
mkdir build && cd build
../configure && make && sudo make install