finding IOSurface headers

2019-05-18 17:57发布

问题:

I'm getting this error when I try to compile my tweak.

'IOSurface/IOSurfaceAPI.h' file not found
#include <IOSurface/IOSurfaceAPI.h>

I've tried this answer, but I can't find /System/Library/Frameworks/IOSurface.framework/Headers on my computer. I'm running osx 10.9.1. Thanks for the help.

回答1:

Try this, not sure about the version it comes from: http://ios-toolchain-based-on-clang-for-linux.googlecode.com/files/IOSurfaceAPI.h