/usr/local/Cellar/gcc@8/8.3.0/include/c++/8.3.0/cwchar:44:10: fatal error: wchar.h: No such file or directory #include <wchar.h> ^~~~~~~~~ compilation terminated.
Mac系统更新后,Command line tool没有自动更新,所以会导致找不到文件。
解决方案:打开终端,输入xcode-select --install 自动更新 Command Line Tool。
报错信息:wchar.h not found/usr/local/Cellar/gcc@8/8.3.0/include/c++/8.3.0/cwchar:44:10: fatal error: wchar.h: No such file or directory#include <wchar.h>^~~~~~~~~compilation terminated.Mac系统更...