build instructions fixes

This commit is contained in:
nesbox 2018-09-04 17:49:45 +03:00
parent 383a4cc745
commit 2ffd4f72c6
1 changed files with 12 additions and 5 deletions

View File

@ -76,16 +76,23 @@ cmake -G "MinGW Makefiles"
mingw32-make -j4 mingw32-make -j4
``` ```
## Linux ## Linux (Ubuntu 14.04)
run the following commands in the Terminal run the following commands in the Terminal
``` ```
sudo apt-get install git libgtk-3-dev cmake wget "https://cmake.org/files/v3.12/cmake-3.12.0-Linux-x86_64.sh"
git clone --recursive https://github.com/nesbox/TIC-80 sudo sh cmake-3.12.0-Linux-x86_64.sh --skip-license --prefix=/usr
cd TIC-80 sudo apt-get install git libgtk-3-dev libgles1-mesa-dev libglu-dev -y
git clone --recursive https://github.com/nesbox/TIC-80 && cd TIC-80
cmake . && make -j4 cmake . && make -j4
``` ```
## MacOS to install the latest CMake:
```
wget "https://cmake.org/files/v3.12/cmake-3.12.0-Linux-x86_64.sh"
sudo sh cmake-3.12.0-Linux-x86_64.sh --skip-license --prefix=/usr
```
## Mac
install `Command Line Tools for Xcode` and `brew` package manager install `Command Line Tools for Xcode` and `brew` package manager
run the following commands in the Terminal run the following commands in the Terminal
``` ```