I am building Linphone application for android. I am working in Ubuntu 11.04 OS.
I Followed the steps given in README file:
Run the ./prepare_sources.sh script in the top level directory. This will download iLBC source files and convert some assembly files in VP8 project.
$ ./prepare_sources.sh
Finally from directory linphone-android, just execute command:
$ ${my google ndk directory}/ndk-build
I got the output in terminal as
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
If i solve this error i will be able to compile and run the Linphone application. Some one please help me to solve this..
Note: Here /home/android-ndk-r7b/ will be your NDK path where you have stored downloaded NDK
Try dis..if still not work mention error what you would get.
You have to specify the complete path the ndk when executing prepare_sources
$./prepare_sources.sh /complete/path/to/android-ndk
If you only specify the relative path to the ndk, it'll also throw the same error.
Then, you can call 'ndk-build', 'ant debug',... whatever you want to.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With