Linphone会为Android建设进程 [英] LinPhone building process for Android

查看:217
本文介绍了Linphone会为Android建设进程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我建立为Android应用程序Linphone会。我工作在Ubuntu 11.04操作系统。

I am building Linphone application for android. I am working in Ubuntu 11.04 OS.

我跟着README文件的步骤:

I Followed the steps given in README file:


  1. 下载Android NDK(> = R5C)来自谷歌。

  2. 安装的自动工具:的autoconf,automake的,aclocal会,libtoolize pkgconfig

  3. 运行在顶层目录中的./$p$ppare_sources.sh脚本。这将下载的iLBC源文件并转换成VP8项目中的某些部件文件。结果
    $ ./prepare_sources.sh

终于从目录Linphone会-机器人,只需要执行命令:结果
$ $ {我的谷歌NDK目录} / NDK的构建

Finally from directory linphone-android, just execute command:
$ ${my google ndk directory}/ndk-build

我得到了在终端的输出

StaticLibrary  : libopencoreamr.a 
Compile arm    : vpx <= vpx_mem.c 
In file included from jni/..//submodules/externals/build/libvpx/../../libvpx/vpx_mem/vpx_mem.c:18: 

jni/..//submodules/externals/build/libvpx/../../libvpx/vpx_mem/include/vpx_mem_intrnl.h:14:24: error: vpx_config.h: No such file or directory 
make: *** [obj/local/armeabi-v7a/objs/vpx/vpx_mem/vpx_mem.o] Error 1 

如果我解决这个错误我就可以编译和运行应用程序Linphone会。有人请帮我解决这个..

If i solve this error i will be able to compile and run the Linphone application. Some one please help me to solve this..

推荐答案

您必须在执行prepare_sources时指定的完整路径NDK

You have to specify the complete path the ndk when executing prepare_sources

$./prepare_sources.sh /complete/path/to/android-ndk

如果你只指定的NDK的相对路径,它会抛出也同样的错误。

If you only specify the relative path to the ndk, it'll also throw the same error.

然后,您可以拨打NDK的构建,蚁调试,......任何你想做的。

Then, you can call 'ndk-build', 'ant debug',... whatever you want to.

这篇关于Linphone会为Android建设进程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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