美文网首页
Undefined symbols for architectu

Undefined symbols for architectu

作者: KeyboardLife | 来源:发表于2017-10-22 16:52 被阅读77次

该错误表示RtspConnection 所引用的静态库找不到,工程里面明明有静态库,还需要在build Phases -> Link Binary with libraries 添加该静态库,并且在library search path 引入库的路径。

Undefined symbols for architecture arm64:
"___cxa_end_catch", referenced from:
H264or5VideoStreamParser::parse() in libAWLive555.a(H264or5VideoStreamFramer.o)
MPEG4VideoStreamParser::parse() in libAWLive555.a(MPEG4VideoStreamFramer.o)
MPEG1or2VideoStreamParser::parse() in libAWLive555.a(MPEG1or2VideoStreamFramer.o)
"___cxa_pure_virtual", referenced from:
vtable for FramedSource in libAWLive555.a(FramedSource.o)
vtable for MediaSink in libAWLive555.a(MediaSink.o)
vtable for RTPSource in libAWLive555.a(RTPSource.o)
vtable for BasicTaskScheduler0 in libAWLive555.a(BasicTaskScheduler0.o)
vtable for UsageEnvironment in libAWLive555.a(UsageEnvironment.o)
vtable for TaskScheduler in libAWLive555.a(UsageEnvironment.o)
vtable for GenericMediaServer in libAWLive555.a(GenericMediaServer.o)
该错误是因为库里面调用了c++代码,需要添加系统库libc++.tbd库,完美解决

相关文章

网友评论

      本文标题:Undefined symbols for architectu

      本文链接:https://www.haomeiwen.com/subject/grxnuxtx.html