Xcode 4.3.3 can't find any header files

空扰寡人 提交于 2019-12-06 09:22:10

I had same problem when I upgraded to 4.3.3 with include files installed in my /usr/local/include folder. After some head banging, I discovered that I had to add /usr/local/include to the "Header Search Paths" setting under Search Paths in Project Build Settings. I did NOT have to do that in the previous version of XCode. Don't know why it changed, but hope this works for you.

Thanks for help.

In Xcode 4.6 I have to:

  • Change default compiler to: LLVM GCC 4.2

And add this paths:

  • Framework Search Paths: /Library/Frameworks
  • Header Search Paths: /usr/local/include
  • Library Search Paths: /usr/include/lib
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!