MacOS clang via Homebrew broken under Mojave `wchar.h`

前端 未结 3 1830
一向
一向 2020-12-20 18:18

Unsurprisingly the new update of OSX Mojave broke my llvm installation in Homebrew, these are the steps I tried:

xcode-select --install # Complained, so I in         


        
3条回答
  •  一整个雨季
    2020-12-20 18:44

    This is a well known issue of the latest macos. Try to set this environment variable, it must fix this issue.

    export LIBCLANG_SYSTEM_INCLUDE_DIR="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include"
    

提交回复
热议问题