问题
I'm trying to compile Apple's OpenSource software from https://www.opensource.apple.com/ on OS X 10.9.4.
The project includes Xcode project files, but I'm getting some errors due to misplaced include paths.
For example, when trying to compile SecurityTool-55115 from os-x-1092 (the latest release up there) on OS X 10.9.4 (the latest production release), I get errors like this:
os-x-1092/SecurityTool-55115/cmsutil.c:44:10: fatal error: 'Security/SecCmsBase.h' file not found
#include <Security/SecCmsBase.h>
^
1 error generated.
This file, like most others I've seen being reported, is present in the corresponding Security-55471.14 package; I've tried doing some symlinks around, but a lot of errors are still popping up.
What's the proper way to make Xcode work here?
来源:https://stackoverflow.com/questions/25152504/include-files-not-found-in-apple-open-source-software