我的Mojave更新后,从终端运行"make"时出现错误:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/wchar.h:119:15: fatal error: 'wchar.h' file not found
Run Code Online (Sandbox Code Playgroud)
文件wchar.h位于该目录中,但无法找到.
在早期的Macos更新之后,我遇到过这个问题,但是可以用...
但这次没有任何作用.我已经重新安装了xcode 10和xcode-selected,并且还切换到了新文件夹..
sudo xcode-select --switch /Library/Developer/CommandLineTools/
Run Code Online (Sandbox Code Playgroud)
它仍然在文件夹中搜索wchar.h
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/
任何想法!