IOSurface.h:20:36: error: IOSurface/IOSurfaceAPI.h: No such file or directory

The headers for IOSurface is not free or open source, so they are not placed here.
Nevertheless, you can make a copy from Mac OS X:

 (1) cp /System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceAPI.h .

你可能感兴趣的:(Directory)