我在mac10.14上编译了python源代码,但找不到头文件。
我查看了头文件,发现它是一个软连接。为什么指向此位置?(用户/密码/....)
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGEventTypes.h:14:10: fatal error:
'IOKit/hidsystem/IOLLEvent.h' file not found
#include <IOKit/hidsystem/IOLLEvent.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make: *** [Python/mactoolboxglue.o] Error 1
QY-MBP:Python-2.7.14-debug x$ ls -all /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/IOKit.framework/Headers/hidsystem/IOLLEvent.h
lrwxr-xr-x@ 1 x staff 200 Aug 5 2017 /Applications/Xcode.app/Contents/Developer/
Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/
System/Library/Frameworks/IOKit.framework/Headers/hidsystem/
IOLLEvent.h -> Users/phracker/Documents/Xcode-beta.app/Contents/
Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/
System/Library/Frameworks/Kernel.framework/Versions/A/Headers/
IOKit/hidsystem/IOLLEvent.h
QY-MBP:Python-2.7.14-debug x$