-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathInstallGuide.txt
53 lines (41 loc) · 1.37 KB
/
InstallGuide.txt
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
================
--DEPENDENCIES--
================
Do one of the following:
(1) Install each dependency individually
sudo apt-get install libsdl2-dev
sudo apt-get install libsdl2-image-dev
sudo apt-get install libsdl2-mixer-dev
sudo apt-get install libglew-dev
sudo apt-get install freeglut3-dev
sudo apt-get install libphysfs-dev
sudo apt-get install libsoil-dev
sudo apt-get install libfreetype6-dev
sudo apt-get install liblua5.2-dev
sudo apt-get install lua5.2
- OR -
(2) Use one great big command;
sudo apt-get install libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libglew-dev freeglut3-dev libphysfs-dev libsoil-dev libfreetype6-dev liblua5.2-dev lua5.2
NOTES:
when compiling luabridge it may shout a compile error
need to change pushstring to pushlstring
=============================================
=================
--LUA LIBRARIES--
=================
Install lua rocks and configure it for 5.2
//Download
wget http://luarocks.org/releases/luarocks-2.3.0.tar.gz
tar zxpf luarocks-2.3.0.tar.gz
cd luarocks-2.3.0
//Install
./configure --lua-version=5.2 --versioned-rocks-dir
make build
sudo make install
//Dependency for busted
sudo luarocks install luafilesystem
/For Unit testing
sudo luarocks install busted
//For debugging
sudo luarocks install luasocket
=============================================