Skip to content

Commit

Permalink
Made instructions for macOS more clear
Browse files Browse the repository at this point in the history
Without the additional steps an error like `error: failed to run custom build command for `gfx-backend-metal v0.3.3`` may occur.

Additional steps copied from:
gfx-rs#2309 (comment)
  • Loading branch information
KaareH authored Sep 7, 2020
1 parent b34a15c commit 8f09991
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion info/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@

## macOS Dependencies

Install the newest XCode from the App Store. This installs the required `metal` developer tools.
1. Install the newest XCode from the App Store. This installs the required `metal` developer tools.
2. Install the command line tools with `xcode-select --install`. This might do nothing on your machine.
3. If `xcode-select --print-path` prints `/Library/Developer/CommandLineTools…`
4. then run `sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer`.

To run the examples, ensure [CMake is installed](https://cmake.org/install/) as it is required for `glsl-to-spirv`.

Expand Down

0 comments on commit 8f09991

Please sign in to comment.