Yearning01 2020-08-13 09:47 采纳率: 100%
浏览 194
已结题

android 编译linphone SDK时mediastreamer2出现 error: SLES/OpenSLES.h: No such file or directory

armeabi-v7a: Build NEON modules for AECM
armeabi-v7a: Build AECM from WebRTC
armeabi-v7a: Build NEON modules for ISAC
armeabi-v7a: Build iSAC plugin for mediastreamer2
armeabi-v7a: Build common modules for iSAC and AECM ()
Android NDK: WARNING:jni/..//submodules/linphone/oRTP/build/android/Android.mk:ortp: LOCAL_LDLIBS is always ignored for static libraries
Android NDK: WARNING:jni/..//submodules/linphone/oRTP/build/android/Android.mk:ortp: non-system libraries in linker flags: -lpthread
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
[armeabi-v7a] Compile++ arm : mediastreamer2 <= androidsound_opensles.cpp
jni/..//submodules/linphone/mediastreamer2/build/android/../../src/android/androidsound_opensles.cpp:27:27: fatal error: SLES/OpenSLES.h: No such file or directory
#include
^
compilation terminated.
make: *** [/cygdrive/D/ndk/android-ndk-r10e/build/core/build-binary.mk:467:obj/local/armeabi-v7a/objs/mediastreamer2/android/androidsound_opensles.o] 错误 1

  • 写回答

1条回答 默认 最新

  • 关注
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

问题事件

  • 已结题 (查看结题原因) 4月11日

悬赏问题

  • ¥15 Java新项目启动报错
  • ¥15 VB.net中在窗体中创建一个button控件来关闭窗体,但是提示错误,我该怎么办
  • ¥15 网上下载好的程序但是arduinoIDE编程报错,运行不了,哪里出错了
  • ¥15 Sharepoint JS开发 付费技术指导
  • ¥15 输入程序运行仿真后,烟雾值不实时检测,变成固定值
  • ¥20 数据排序,可选择排序方向
  • ¥15 修改一下代码,考虑进程到达时间不同的情况
  • ¥15 帮我看看这是个啥题,带解题过程和结果,条件如下FCF = 290471.33 g1 = 15% r = 8% g2 = 4% n = 5
  • ¥15 edem模拟颗粒不显示或者生成失败
  • ¥15 Python代码编写