Skip to content

Instantly share code, notes, and snippets.

@abdullahceylan
Last active July 25, 2019 21:11
Show Gist options
  • Save abdullahceylan/74680941fc71f09a455b0c8b81f0ee99 to your computer and use it in GitHub Desktop.
Save abdullahceylan/74680941fc71f09a455b0c8b81f0ee99 to your computer and use it in GitHub Desktop.
MacOS High Sierra: Build error - "#include nested too deeply" #881

Open terminal and execute:

mkdir /tmp/includes
brew doctor 2>&1 | grep "/usr/local/include" | awk '{$1=$1;print}' | xargs -I _ mv _ /tmp/includes

If you get a 'Permission denied' error:

sudo chown -R $(whoami) /usr/local/include

and then execute again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment