本文介绍了Linphone会NDK编译错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

试图编译使用NDK本地Linphone会库时收到错误

Getting error when trying to compile Linphone Native Library using NDK

G:\WorkSpaces\Demo\LinphoneLauncherActivity>G:\android-ndk-r8d-windows\android-n
dk-r8d\ndk-build

Build X264 plugin for mediastreamer2

"Compile arm  : vpx <= vpx_mem.c

In file included from jni/..//submodules/externals/build/libvpx/../../libvpx/vpx
_mem/vpx_mem.c:18:0:

jni/..//submodules/externals/build/libvpx/../../libvpx/vpx_mem/include/vpx_mem_i
ntrnl.h:14:24: fatal error: vpx_config.h: No such file or directory
compilation terminated.

make: *** [obj/local/armeabi-v7a/objs/vpx/vpx_mem/vpx_mem.o] Error 1

这方面的任何解决方案或帮助的感谢..如果有人知道请帮助。

Any solution or help regarding this is thankful.. Please help if anybody knows.

推荐答案

您应该遵循Linphone会的指示,或者至少运行 prepare_sources.sh 脚本。

You should follow the linphone instructions, or at least run the prepare_sources.sh script.

这篇关于Linphone会NDK编译错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-03 18:15