ios - 集成linphone遇到的找不到库的问题

查看:182
本文介绍了ios - 集成linphone遇到的找不到库的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问 题

往项目中集成linphone,因为demo已经跑通了,所以就直接代码级别的移植了(烤代码)。结果遇到了没有音频视频的问题。根据打印的日志,主要是以下两个问题
1.Cannot open directory /Volumes/Other/CloudCity/linphone-iphone/submodules/build/..//../liblinphone-sdk/aarch64-apple-darwin.ios/lib/liblinphone/plugins: No such file or directory

2.

Could not find encoder for AMR
Could not find decoder for AMR
Could not find encoder for AMR-WB
Could not find decoder for AMR-WB
Could not find encoder for G729
Could not find decoder for G729
Could not find encoder for SILK
Could not find decoder for SILK
Could not find encoder for SILK
Could not find decoder for SILK

问题2这样类似的提示还有很多。
应该不是路径问题,search path那里已经设置过了。

所以,想知道怎么解决这个问题。或者能有一个明确的原因.
如果大神路过嫌弃我的问题太简单也请您不吝赐教,十分感谢。

解决方案

时隔一年,搜索时无意中点进来自己以前发的问题,特地来回答一下。这个东西,1、是lib的路径要设置好; 2、是设置好宏,在preprocessor macros.

这篇关于ios - 集成linphone遇到的找不到库的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆