From 03fde118f7fc10239bf619da2bdf3a21a7881a53 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Tue, 20 Feb 2018 20:09:04 +0900 Subject: [PATCH] Updated macOS (markdown) --- macOS.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/macOS.md b/macOS.md index 6f5c4d3..0ab9af5 100644 --- a/macOS.md +++ b/macOS.md @@ -1,3 +1,11 @@ See [[installation]]. -Compilation requires a C compiler like clang to compile third party libraries used by Ebiten. On the latest macOS, just type `clang` on your terminal and a dialog would appear if you don't have clang compiler. Follow the instruction to install it. \ No newline at end of file +Compilation requires a C compiler like clang to compile third party libraries used by Ebiten. On the latest macOS, just type `clang` on your terminal and a dialog would appear if you don't have clang compiler. Follow the instruction to install it. + +You might find an error when executing gcc: + +``` +xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun +```` + +In this case, run `xcode-select --install`.