Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined symbols for architecture arm64: kIOSurfaceIsGlobal in CSScreenRecorder.o #75

Open
loretoparisi opened this issue Aug 27, 2015 · 5 comments

Comments

@loretoparisi
Copy link

Undefined symbols for architecture arm64:
"_kIOSurfaceIsGlobal", referenced from:
-[CSScreenRecorder _createScreenSurface] in CSScreenRecorder.o
"_kIOSurfaceBytesPerElement", referenced from:
-[CSScreenRecorder _createScreenSurface] in CSScreenRecorder.o
"_kIOSurfaceBytesPerRow", referenced from:
-[CSScreenRecorder _createScreenSurface] in CSScreenRecorder.o
"OBJC_CLASS$_IASKAppSettingsViewController", referenced from:
objc-class-ref in CSAppDelegate.o
"_kIOSurfaceWidth", referenced from:
-[CSScreenRecorder _createScreenSurface] in CSScreenRecorder.o
"_kIOSurfaceHeight", referenced from:
-[CSScreenRecorder _createScreenSurface] in CSScreenRecorder.o
"_kIOSurfaceAllocSize", referenced from:
-[CSScreenRecorder _createScreenSurface] in CSScreenRecorder.o
"_IOSurfaceCreate", referenced from:
-[CSScreenRecorder _createScreenSurface] in CSScreenRecorder.o
"_IOSurfaceLock", referenced from:
-[CSScreenRecorder _captureShot:] in CSScreenRecorder.o
"_IOSurfaceUnlock", referenced from:
-[CSScreenRecorder _captureShot:] in CSScreenRecorder.o
"_kIOSurfacePixelFormat", referenced from:
-[CSScreenRecorder _createScreenSurface] in CSScreenRecorder.o
"_IOSurfaceGetBaseAddress", referenced from:
-[CSScreenRecorder _captureShot:] in CSScreenRecorder.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@bbbang007
Copy link

Same error occured when I was running this program, please let me know you already fixed it ...

@sashahcygnet
Copy link

@cbangchen @loretoparisi I am facing the same error. Were you able to find some solution so we can run the code on iOS10 devices.

@loretoparisi
Copy link
Author

@sashahcygnet I don't remember since it was two years ago...have to check!

@sashahcygnet
Copy link

@loretoparisi Okay do let me know in case you get your hands on it again.

@dmaulikr
Copy link

dmaulikr commented Aug 16, 2017

@sashahcygnet @loretoparisi have you got solution? because I'm getting same error!!

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

No branches or pull requests

4 participants