-
Notifications
You must be signed in to change notification settings - Fork 1
/
INSTALL
41 lines (31 loc) · 1.35 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
This document is for building Sky Checkers from source. Available binaries are at https://github.com/zorgiepoo/Sky-Checkers/releases
To compile under macOS or iOS, build and run the Xcode project in mac/ using the appropriate scheme
To compile under Windows, build and run the Visual Studio project in win/ using the appropriate configuration
To compile for linux, the following dependencies are needed:
* SDL2
* SDL2_ttf
* SDL2_mixer
* glew
Development libraries for these dependencies may need to first be installed.
Eg: On Ubuntu, I had to execute:
apt-get install libsdl2-dev
apt-get install libsdl2-mixer-dev
apt-get install libsdl2-ttf-dev
apt-get install libglew-dev
On CentOS 7, I executed:
yum groupinstall 'Development Tools'
yum install epel-release
yum install SDL2-devel.x86_64
yum install SDL2_mixer-devel.x86_64
yum install SDL2_ttf-devel.x86_64
yum install glew-devel.x86_64.
Then to compile under Linux, cd into linux/ and:
1. If you want to build and install a production build run:
make
sudo make install
This will install /usr/bin/skycheckers on your system along with a desktop entry
2. If you want to make a development build run:
make scdev
This will output a scdev executable in the current directory that can be executed.
--
This document is licensed under CC BY-SA 3.0: https://creativecommons.org/licenses/by-sa/3.0/