模拟器运行报错:ld: symbol(s) not found for architecture x86_64
模拟器运行报错:
报错信息如下:
Undefined symbols for architecture x86_64:
"_x264_encoder_open_142", referenced from:
H264_Open_uni(int, int, int, int, int) in libPlayerSDKLib.a(ffcodec_uni.o)
H264_Open(int, int, int, int, int) in RtSDK(ffcodec.o)
"_x264_encoder_headers", referenced from:
H264_Open_uni(int, int, int, int, int) in libPlayerSDKLib.a(ffcodec_uni.o)
H264_Open(int, int, int, int, int) in RtSDK(ffcodec.o)
"_x264_param_default", referenced from:
H264_Open_uni(int, int, int, int, int) in libPlayerSDKLib.a(ffcodec_uni.o)
H264_Open(int, int, int, int, int) in RtSDK(ffcodec.o)
"_x264_param_apply_profile", referenced from:
H264_Open_uni(int, int, int, int, int) in libPlayerSDKLib.a(ffcodec_uni.o)
H264_Open(int, int, int, int, int) in RtSDK(ffcodec.o)
"_x264_encoder_encode", referenced from:
H264_EncodeFrame_uni(H264_Context*, unsigned char*, unsigned int, unsigned char**, unsigned int*) in libPlayerSDKLib.a(ffcodec_uni.o)
H264_EncodeFrame(H264_Context*, unsigned char*, unsigned int, unsigned char**, unsigned int*) in RtSDK(ffcodec.o)
"_x264_encoder_close", referenced from:
H264_Open_uni(int, int, int, int, int) in libPlayerSDKLib.a(ffcodec_uni.o)
H264_Close_uni(H264_Context*) in libPlayerSDKLib.a(ffcodec_uni.o)
H264_Open(int, int, int, int, int) in RtSDK(ffcodec.o)
H264_Close(H264_Context*) in RtSDK(ffcodec.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code (use -v to see invocation)
是libPlayerSDKLib这个库有问题
这个库包含在ffmpeg的库里面,
把整个ffmpeg库替换就好了。
模拟器运行报错:ld: symbol(s) not found for architecture x86_64的更多相关文章
- Xcode调用旧版本库出现Undefined symbols for architecture x86_64: ld: symbol(s) not found for architecture x86_64
问题:Undefined symbols for architecture x86_64: ld: symbol(s) not found for architecture x86_64 问题原因 ...
- iOS编译错误#ld: warning: ignoring file# 之 Undefined symbols for architecture x86_64 - ld: symbol(s) not found for architecture x86_64
ld: warning: ignoring file xxxPath/libbaidumapapi.a, missing required architecture x86_64 in file xx ...
- mac 关于使用protobuf出现ld: symbol(s) not found for architecture x86_64的问题
主要是编译时没有添加protobuf库文件 g++ -o Writer.o lm.helloworld.pb.cc Writer.cpp -L/usr/local/lib -lprotobuf
- xcode编译运行报错纪录(持续更新)
---恢复内容开始--- 1. Undefined symbols for architecture i386: "_deflate", referenced from: -[NS ...
- symbol(s) not found for architecture x86_64
项目报错如下: ld: warning: ignoring file /xxxx/xxxx/ZBarSDK/libzbar.a ld: symbol(s) not found for architec ...
- 安卓模拟器的报错This AVD's configuration is missing a kernel file!!
安卓模拟器的报错: 可能的原因是target设置问题:
- macaca运行报错之chrome-driver问题处理,关闭 Chrome 的自动更新
由于chrome浏览器自动更新,导致 macaca运行报错,重新安装和更新chrome-driver 之后,还需要把chrome浏览器降级到50版本: 但是chrome会自动更新,所以需要禁止.找到这 ...
- Selenium Grid 运行报错 Exception thrown in Navigator.Start first time ->Error forwarding the new session Empty pool of VM for setup Capabilities
Selenium Grid 运行报错 : Exception thrown in Navigator.Start first time ->Error forwarding the new se ...
- iOS-C文件添加到iOS项目中,运行报错
iOS-C文件添加到iOS项目中,运行报错 问题: 往项目中添加一个空的c文件, 编译运行; 出现2,30个编译错误. 原因: 由于在项目中添加了Pch文件,在文件中所有代码还没有开始运行之前, pc ...
随机推荐
- [转]深刻理解Python中的元类(metaclass)以及元类实现单例模式
使用元类 深刻理解Python中的元类(metaclass)以及元类实现单例模式 在看一些框架源代码的过程中碰到很多元类的实例,看起来很吃力很晦涩:在看python cookbook中关于元类创建单例 ...
- 读“40 分,60 分,90 分”
原文链接: http://mp.weixin.qq.com/s?__biz=MzA5MjYyNzY1OQ==&mid=2650901947&idx=1&sn=89af64d3b ...
- Java知多少(16)StringBuffer与StringBuider
String 的值是不可变的,每次对String的操作都会生成新的String对象,不仅效率低,而且耗费大量内存空间. StringBuffer类和String类一样,也用来表示字符串,但是Strin ...
- 利用Backtrace来捕获段错误堆栈信息
具体参考文档:https://blog.csdn.net/gatieme/article/details/84189280 测试Demo: #include <execinfo.h> #i ...
- Java面试题考点全面总结
我通过两个月的复习拿到了阿里巴巴的 offer,有一些运气,也有一些心得,借着跳槽季来临特此分享出来. 简单梳理一下我的复习思路,同时也希望和大家一起交流讨论,一起学习,如果不对之处欢迎指正一起学习. ...
- linux环境中,多个命令之间,通过&& ||执行,命令之间执行的逻辑是什么?
需求描述: 最近在写一个脚本的时候,要判断一个文件是否存在,有怎么样,没有就创建,这个时候 看到了一个test 结合 || 或者 &&的写法,就查看了下资料记录下是怎么个玩法. 操作过 ...
- [IR] Advanced XML Compression - ISX
Ori paper: http://www.cse.unsw.edu.au/~wong/papers/www07.pdf ISX Requirements 1 Space does matter fo ...
- rhadoop linear regression 问题
library(rhdfs) library(rmr2) hdfs.init() hdfs.delete("/user/output/lm.output") map <- f ...
- 转自ruby迷: 使用Net::SSH和Net::SCP编写Linux服务器管理脚本
试了一下perl下安装ssh模块,整了半天linux/window上都装不上,各依赖模块的版本总是匹配不上,后改了一下思路,用ruby吧 Net::SSH和Net::SCP是两个Ruby操作SSH的g ...
- 在 VS Code 和 Chrome 中调试
先决条件 你必须安装好 Chrome 和 VS Code.同时请确保自己在 VS Code 中安装了 Debugger for Chrome 扩展的最新版本. 请通过 Vue CLI,遵循它的 REA ...