Skip to content
This repository has been archived by the owner on Apr 21, 2019. It is now read-only.

IOSurfaceAPI.h #2

Open
maxpy opened this issue May 2, 2010 · 3 comments
Open

IOSurfaceAPI.h #2

maxpy opened this issue May 2, 2010 · 3 comments

Comments

@maxpy
Copy link

maxpy commented May 2, 2010

cp: /System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceAPI.h: No such file or directory
and spotlight also found nothing.
Any idea?

@rpetrich
Copy link
Contributor

rpetrich commented May 3, 2010

If you have the Snow Leopard SDK installed, IOSurface.framework will contain that header. If you don't have Snow Leopard, the header is a bit more difficult to get a hold of (because it can't be legally distributed).

My fork contains a fallback header that defines IOSurfaceRef, but none of the functions. It can be used to compile using headers that only require the type to be defined.

@ndbroadbent
Copy link

Hi rpetrich, thanks for adding the _fallback headers. The readme in Tyr0's fork also explains: In order to use, copy IOSurfaceAPI.h from /System/Library/Frameworks/IOSurface.framework/Headers/ to /theos/include/IOSurface/

Can I ask a quick question while I'm here? I'm having a really hard time compiling QuickScroll2 from http://code.google.com/p/networkpx/
How compatible are these private frameworks with the iOS 4.1 SDK?
If these ones aren't, is your fork more up to date? To be honest, I don't have much experience with this, and would really appreciate some advice.

Thanks,
Nathan B

@Kyslik
Copy link

Kyslik commented Aug 27, 2012

google it :) "index of IOSurface.framework" -> search for what you want [IOSurfaceAPI.h]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants