Skip to content

Commit

Permalink
Improve Getting Started: macOS instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Walther committed Nov 14, 2018
1 parent 11c4f74 commit 584d1b3
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions info/getting_started.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
# Getting Started

## macOS Dependencies

Install the newest XCode from the App Store. This installs the required `metal` developer tools.

## Vulkan Dependencies

First, install the x11 and Vulkan dev libraries.

For Fedora

```bash
# Fedora
sudo dnf install -y libX11-devel vulkan
```

For Ubuntu

```bash
# Ubuntu
sudo apt install -y libx11-dev libvulkan-dev libxcb1-dev xorg-dev
```

Expand All @@ -27,7 +26,11 @@ To run an example, simply use `cargo run` and specify the backend with `--featur
```bash
git clone https://github.com/gfx-rs/gfx
cd gfx/examples
# macOS
cargo run --bin quad --features metal
# vulkan
cargo run --bin quad --features vulkan
# Windows
cargo run --bin compute --features dx12 1 2 3 4
```

Expand Down

0 comments on commit 584d1b3

Please sign in to comment.