I am working on a SIP application and using the Linphone Library, I have a bit of confusion when setting up the library to run the project.
Step 1: First, I downloaded the NDK on my Mac with the new Android SDK. Then set aside the PATH of my NDK folder in ADT -> Preferences -> Android -> NDK
Step 2: Then I installed Autotools using this link (Only the following commands written under clause: 2.3 How to install Autotools (as a user)?) Ndk_build
Step 3: After that I downloaded linphone-android using terminal using -
git clone git://git.linphone.org/linphone-android.git --recursive
Now I want to perform the following steps: Step 4: Go to the root directory of the loaded project using the command in the terminal:
$ cd /home/my_downloaded_project_path/linphone-android
And then Step 5:
$ ./prepare_sources.sh /home/android-ndk-r7b/ndk_build
I think the assembly will be ready.
Step 6: Import the linphone-android project into eclipse and then run the project.
Now when I do Step 5: I get an error
-bash: ./prepare_sources.sh: No such file or directory
I searched my entire Mac, but I cannot find this file (so how will it work then?)
Please let someone tell me what I am missing or doing wrong. Are my steps correct (if you somehow changed my actions, kindly tell me)
Another approach I've tried is :
Downloaded Linphone Lib for Android from here I copied the file. / prepare _sources.sh and pasted it into the directory where I got the code downloaded using the terminal command, as said in step 3 above. Now run this command
./prepare_sources.sh /home/android-ndk-r7b/ndk_build
and he worked on the terminal, but later he showed me the following messages:
. . . er.bat inflating: SILK_SDK_SRC_v1.0.9/SILK_SDK_SRC_ARM_v1.0.9/test_vectors/test_encoder.sh cp ./patch_pic.diff SILK_SDK_SRC_v1.0.9/SILK_SDK_SRC_ARM_v1.0.9 cd SILK_SDK_SRC_v1.0.9/SILK_SDK_SRC_ARM_v1.0.9 && /usr/bin/patch -p0 < patch_pic.diff patching file Makefile Hunk #1 succeeded at 47 with fuzz 2 (offset 21 lines). ./prepare_sources.sh: line 41: abs_builddir: command not found ./prepare_sources.sh: line 41: abs_builddir: command not found ./prepare_sources.sh: line 41: /yuv2rgb.vs.h: Permission denied yuv2rgb.vs.h creation error (do you have 'xxd' application installed ?) /Users/myname/linphone-android/submodules/externals/srtp
How to resolve this, I do not know ??