Thankyou for your inputs,Pranav. I was able to run Ndk-build after this by C:\Users\urvik\android-ndk-r13\ndk-build command. After the build got over, 6 warning and 2 errors were generated. Errors in basic_op.h file at line 641 & 700 are :
** *jni/g729/siphon-g729/Headers\basic_op.h:641:21: error: invalid output constraint '=&r*i' in asm* * : "=&r*i"(out),* and ^ *jni/g729/siphon-g729/Headers\basic_op.h:700:7: error: invalid output constraint '=&r*i' in asm*
* : "=&r*i"(out)* Can someone help me in resolving this issue? Thank you.
On Thu, Oct 13, 2016 at 7:25 PM, Pranav Jain contact@pranavjain.me wrote:
Hi Urvika, Try adding GNUMAKE Environment variable and then running the ndk-build from windows command prompt. It should fix the error.
On Thu, Oct 13, 2016 at 9:10 AM, Urvika Gola urvika.gola@gmail.com wrote:
Hi Daniel, I tried running it , My learnings through out are givenstepwise below after going through BUILD.txt in https://github.com/opentele coms-org/lumicall/blob/master/BUILD.txt
*Prerequisite :*1. Downloaded Gradle 2.2.1 and adding its environment variables. C:\Users\urvik>gradle -v
Gradle 2.2.1
*To build the project from the command line:*
I cloned "lumicall" into a folder "abc" which I created. *urvik@DESKTOP-56TSQGT MINGW64 ~/desktop/abc* *$ git clone https://github.com/opentelecoms-org/lumicall.git https://github.com/opentelecoms-org/lumicall.git* Cloning into 'lumicall'... remote: Counting objects: 9709, done. remote: Total 9709 (delta 0), reused 0 (delta 0), pack-reused 9709 Receiving objects: 100% (9709/9709), 22.84 MiB | 602.00 KiB/s, done. Resolving deltas: 100% (5644/5644), done. Checking out files: 100% (390/390), done.
a. Fetching the submodules : urvik@DESKTOP-56TSQGT MINGW64 ~/desktop/abc/lumicall (master) *$ git submodule init* Submodule 'jni' (https://github.com/opentelecoms-org/codecs.git) registered for path 'jni'
urvik@DESKTOP-56TSQGT MINGW64 ~/desktop/abc/lumicall (master) *$ git submodule update* Cloning into 'C:/Users/urvik/Desktop/abc/lumicall/jni'... Submodule path 'jni': checked out '0db2f6135ce354faf3746e05c1ee1 008a2fab8d7'
before cloning I tried downloading the lumicall project and then extracted the folders and when I was performing these commands, no submodules were fetched and the jni folder was empty. Later on I tried the cloning method which worked.
- To build the JNI code using NDK build tool, which is a tool through
which we can use C, C++ code in our android project. (.cpp files in jni folder) Initially I installed NDK through android studio along with Cmake and LLDB. and $ ${NDK_HOME}/ndk-build didnt work -- urvik@DESKTOP-56TSQGT MINGW64 ~/desktop/abc/lumicall (master) $ C:/Users/urvik/AppData/Local/Android/Sdk/ndk-bundle/ndk-build bash: C:/Users/urvik/AppData/Local/Android/Sdk/ndk-bundle/ndk-build: No such file or directory
Later on I downloaded NDK Zip Folder and then executed k@DESKTOP-56TSQGT MINGW64 ~/desktop/abc/lumicall (master) *$ C:/Users/urvik/android-ndk-r13/build/ndk-build* ERROR: Cannot find 'make' program. Please install Cygwin make package or define the GNUMAKE variable to point to it.
I installed the Cvgwin make pakage, urvik@DESKTOP-56TSQGT ~ $ make -v GNU Make 4.1
I tried a lot resolving this but I am unable to do so. Could you please guide me through. Thank you *- Urvika Gola*
On Thu, Oct 13, 2016 at 12:25 AM, Daniel Pocock daniel@pocock.pro wrote:
On 12/10/16 20:32, Urvika Gola wrote:
Hi Daniel, Thank you for reverting back. Yes, I know Pranav, I discussed outreachy with him and he guided me. My strongest skills are java and android development among those set
of
languages.
Great, please fork Lumicall in Github, try to compile it and tell us what happens, any problems you encounter, etc _______________________________________________ Free-RTC mailing list Free-RTC@lists.fsfe.org https://lists.fsfe.org/mailman/listinfo/free-rtc
Free-RTC mailing list Free-RTC@lists.fsfe.org https://lists.fsfe.org/mailman/listinfo/free-rtc
-- Regards,
Pranav Jain
Free-RTC mailing list Free-RTC@lists.fsfe.org https://lists.fsfe.org/mailman/listinfo/free-rtc
On 13/10/16 18:59, Urvika Gola wrote:
Thankyou for your inputs,Pranav. I was able to run Ndk-build after this by C:\Users\urvik\android-ndk-r13\ndk-build command. After the build got over, 6 warning and 2 errors were generated. Errors in basic_op.h file at line 641 & 700 are :
*jni/g729/siphon-g729/Headers\basic_op.h:641:21: error: invalid output constraint '=&r*i' in asm*
: "=&r*i"(out),*
and ^
jni/g729/siphon-g729/Headers\basic_op.h:700:7: error: invalid output constraint '=&r*i' in asm*
: "=&r*i"(out)
Can someone help me in resolving this issue?
Which NDK version?
Do you have a computer running Linux? I notice you appear to be trying ndk-build on Windows, I've never tested that. Personally, I'm running Debian on my desktop and laptop.
Regards,
Daniel