Skip to content

Commit

Permalink
Add missing linux deps
Browse files Browse the repository at this point in the history
  • Loading branch information
kantoniak committed Nov 17, 2018
1 parent 9396e61 commit 19d4bd0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,16 @@ You will need `premake4` [(download)](https://premake.github.io/download.html).

#### Linux dependencies

You can just run `setup-deps.sh`, it will setup everything for you. If you want to do everything by hand, here's the list of dependencies:
You can just run `setup-deps.sh`, it will setup everything for you.

git clone git@github.com:kantoniak/konstruisto.git konstruisto &&
cd konstruisto &&
chmod +x setup-deps.sh &&
sudo ./setup-deps.sh &&
cd - &&
make build run

If you want to do everything by hand, here's the list of dependencies:

1. Install `clang-3.9 lldb-3.9`. Export `clang`, `clang++`, `clang-format` to `PATH`.
2. Install `libglew-dev` (2.0.0): https://launchpad.net/ubuntu/+source/glew
Expand Down
2 changes: 1 addition & 1 deletion setup-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ echo "Dependencies directory: $EXT"
mkdir -p "$EXT"

# 2. Install packages
sudo apt-get install libglew-dev libglfw3-dev premake4
sudo apt-get install clang clang-format libglew-dev libglfw3-dev premake4 windres

# 3. Download GLM
wget https://github.com/g-truc/glm/releases/download/0.9.8.4/glm-0.9.8.4.zip --no-check-certificate -O glm-0.9.8.4.zip &&
Expand Down

0 comments on commit 19d4bd0

Please sign in to comment.