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

link error at Xcode 6.0.1 #15

Open
kyfxbl opened this issue Oct 14, 2014 · 1 comment
Open

link error at Xcode 6.0.1 #15

kyfxbl opened this issue Oct 14, 2014 · 1 comment

Comments

@kyfxbl
Copy link

kyfxbl commented Oct 14, 2014

the error message is:

Undefined symbols for architecture arm64:
"OBJC_CLASS$_EAGLContext", referenced from:
objc-class-ref in PPSSignatureView.o
"_glDisable", referenced from:
-[PPSSignatureView setupGL] in PPSSignatureView.o
"_glGenVertexArraysOES", referenced from:
-[PPSSignatureView setupGL] in PPSSignatureView.o
"_glGenBuffers", referenced from:
-[PPSSignatureView setupGL] in PPSSignatureView.o
"_glBufferData", referenced from:
-[PPSSignatureView setupGL] in PPSSignatureView.o
"_glVertexAttribPointer", referenced from:
-[PPSSignatureView bindShaderAttributes] in PPSSignatureView.o
"_glDeleteVertexArraysOES", referenced from:
-[PPSSignatureView tearDownGL] in PPSSignatureView.o
"_glMapBufferOES", referenced from:
_addVertex in PPSSignatureView.o
"_glDrawArrays", referenced from:
-[PPSSignatureView drawRect:] in PPSSignatureView.o
"_glBindBuffer", referenced from:
-[PPSSignatureView tap:] in PPSSignatureView.o
-[PPSSignatureView pan:] in PPSSignatureView.o
-[PPSSignatureView setupGL] in PPSSignatureView.o
"_glClearColor", referenced from:
-[PPSSignatureView drawRect:] in PPSSignatureView.o
"_glDeleteBuffers", referenced from:
-[PPSSignatureView tearDownGL] in PPSSignatureView.o
"_glClear", referenced from:
-[PPSSignatureView drawRect:] in PPSSignatureView.o
"_glUnmapBufferOES", referenced from:
_addVertex in PPSSignatureView.o
"_glBindVertexArrayOES", referenced from:
-[PPSSignatureView drawRect:] in PPSSignatureView.o
-[PPSSignatureView setupGL] in PPSSignatureView.o
"_glEnableVertexAttribArray", referenced from:
-[PPSSignatureView bindShaderAttributes] in PPSSignatureView.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@MosheBerman
Copy link

Looks like you need to link GLKit. If you're using CocoaPods, this should happen automatically.

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

2 participants