小编E E*_*E E的帖子

Mojave更新"make"后出现问题:致命错误:找不到'wchar.h'文件

我的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更新之后,我遇到过这个问题,但是可以用...

macOS'wchar.h'找不到文件

但这次没有任何作用.我已经重新安装了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/

任何想法!

macos makefile macos-mojave

6
推荐指数
1
解决办法
1301
查看次数

标签 统计

macos ×1

macos-mojave ×1

makefile ×1