Open entropid opened 12 years ago
I had this same problem. I'm running OS X Lion, and I think Apple may have made some changes in IOSurfaceAPI.h in Lion. What I did was download an old version of Xcode that had the Snow Leopard SDK and extracted the header from there. No more 'xpc_object_t' errors.
Thank you for the advice. :)
/* This call lets you get an xpc_object_t that holds a reference to the IOSurface. Note: Any live XPC objects created from an IOSurfaceRef implicity increase the IOSurface's global use count by one until the object is destroyed. */ // xpc_object_t IOSurfaceCreateXPCObject(IOSurfaceRef aSurface) // IOSFC_AVAILABLE_STARTING(MAC_10_7, IPHONE_NA);
/* This call lets you take an xpc_object_t created via IOSurfaceCreatePort() and recreate an IOSurfaceRef from it. */ // IOSurfaceRef IOSurfaceLookupFromXPCObject(xpc_object_t xobj) // IOSFC_AVAILABLE_STARTING(MAC_10_7, IPHONE_NA);
I'm running OS X Lion,and I copy /System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceAPI.h to $THEOS/include/IOSurface/ . I get it worked when I commit above lines.
When I run the
run
command, this is the outputI've obviously checked that I followed all the instructions in the right way and set the variables (SKDVERSION = 4.3, GO_EASY_ON_ME = 1 and THEOS folder).