macOS 'wchar.h' File Not Found

前端 未结 7 1466
故里飘歌
故里飘歌 2020-11-28 05:15

Under OS X 10.9.5 using XCode 6.0.1 I am running into the following issue when I try to run make from the terminal:

fatal error: \'wchar.h\' fil         


        
7条回答
  •  青春惊慌失措
    2020-11-28 05:43

    • My error was similar to yours which said string.h not found, I solved it by running this command:
    open /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg
    

    I think that the problem is that for macOS Mojave users, the headers are no longer installed under /usr/include by default.

提交回复
热议问题