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