wchar.h not found
生活随笔
收集整理的這篇文章主要介紹了
wchar.h not found
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
報(bào)錯(cuò)信息: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系統(tǒng)更新后,Command line tool沒有自動(dòng)更新,所以會(huì)導(dǎo)致找不到文件。
解決方案:打開終端,輸入xcode-select --install 自動(dòng)更新 Command Line Tool。
總結(jié)
以上是生活随笔為你收集整理的wchar.h not found的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 小工匠聊架构文章一览【不间断持续更新】
- 下一篇: 斐波那契数列递归解法