解決 LLVM 錯誤 fatal error: ‘csignal’ file not found

錯誤信息:

/Users/exchen/Downloads/Unity-iPhone/Classes/main.mm:3:10: fatal error: ‘csignal’ file not found
#include 
^~~~~~~~~
1 error generated.

解決方法:由於項目中包含 C++ 文件,在 Build Settings 的 Header Search Paths 裏增加 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ 就可以了。


原文地址:https://www.exchen.net/解決-llvm-錯誤-fatal-error-csignal-file-not-found.html


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章