qq_28150513
Yearning01
2020-08-13 09:47
采纳率: 85.7%
浏览 95

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条回答 默认 最新

相关推荐