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

编译失败 #50

Closed
KKFinger opened this issue Dec 26, 2017 · 3 comments
Closed

编译失败 #50

KKFinger opened this issue Dec 26, 2017 · 3 comments

Comments

@KKFinger
Copy link

demo编译失败

Undefined symbols for architecture arm64:
"OBJC_IVAR$_SGFFAVYUVVideoFrame.channel_pixels", referenced from:
-[SGGLTextureYUV420 updateTextureWithGLFrame:aspect:] in SGPlayer(SGGLTextureYUV420.o)
"OBJC_CLASS$_SGFFAVYUVVideoFrame", referenced from:
objc-class-ref in SGPlayer(SGGLFrame.o)
"OBJC_CLASS$_SGFFCVYUVVideoFrame", referenced from:
objc-class-ref in SGPlayer(SGGLFrame.o)
"OBJC_CLASS$_SGFFPlayer", referenced from:
objc-class-ref in SGPlayer(SGPlayerImp.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

概率性的编译失败 有时候可以 过一会就又不行了 好诡异

@huangrun
Copy link

遇到同样问题,请问解决了吗

@iamvijay
Copy link

Hey, I am facing the same issue, Any solution for this?

@KKFinger
Copy link
Author

ios、mac、tvos三个版本的ffmpeg库需要对应上,不能将ios版本的ffmpeg库加到mac的target中,否则会出现上述错误

@libobjc libobjc closed this as completed Aug 20, 2019
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