linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] R: Compile Linphone on Android


From: Riccardo Sacchi
Subject: [Linphone-developers] R: Compile Linphone on Android
Date: Mon, 7 Oct 2013 11:17:56 +0000

I solved my last problem doing manually: 

"java -jar dir-of-antlr.jar -make -fo dest-dir dir-of-belle_sip_message.g dir-of-belle_sdp.g"

 

But know I have a problem in mediastreamer2/src/utils/opengles_display.c:

 

#include "yuv2rgb.vs.h"

#include "yuv2rgb.fs.h"

yuv2rgb_fs_len = yuv2rgb_fs_len;

yuv2rgb_vs_len = yuv2rgb_vs_len;

GLuint vertShader, fragShader;

*program = glCreateProgram();

 

if (!compileShader(&vertShader, GL_VERTEX_SHADER, (const char*)yuv2rgb_vs))

return FALSE;

if (!compileShader(&fragShader, GL_FRAGMENT_SHADER, (const char*)yuv2rgb_fs))

return FALSE;

 

the two include do not exist (name files are without .h) and yuv2rgb_fs_len, yuv2rgb_vs_len, yuv2rgb_vs, yuv2rgb_fs are not declared.

 

Thank you

 

 

Da: Riccardo Sacchi
Inviato: giovedì 3 ottobre 2013 13:29
A: address@hidden
Oggetto: R: [Linphone-developers] Compile Linphone on Android

 

@Jehan: thank you for the fast reply. I followed the instructions, so I downloaded, compiled and installed libantlr3c, antlr3 and CUinit (I’m using windows and cgwin). It created me a folder within bin, doc, include, lib, share folder and all relative files. Now, I try to compile belle-sip, I selected the folder in which I installed all the libs, I corrected dozens of errors like missing files, makefile with sintax problems and so on… After successfully making the configure I do the make, but I receive this error:

 

C:\Programmi\Java\jdk1.7.0_21 -jar /c/Programmi/Git/local/antlr/share/java/antlr.jar  -make -fo  ./belle_sip_message.g ./belle_sdp.g

C:\Programmi\Java\jdk1.7.0_21 command not valid

 

The jar is correctly located, the problem is that the Makefile is trying to execute the JDK whole folder instead of a single program.

I tried to manually do: java 21 -jar /c/Programmi/Git/local/antlr/share/java/antlr.jar  -make -fo  ./belle_sip_message.g ./belle_sdp.g, but I receive “./belle_sip_message.g” file not found.

 

I’m trying to compile these libraries for about 4 days and now I’m quite bored… someone could please send me the belle-sip sources already compiled?

 

Thanks

 

Da: linphone-developers-bounces+address@hidden [mailto:linphone-developers-bounces+address@hidden] Per conto di Jehan Monnier
Inviato: mercoledì 2 ottobre 2013 17:52
A: address@hidden
Oggetto: Re: [Linphone-developers] Compile Linphone on Android

 

Hi,

 

Both are supposed to be code generated. Check from REAME if all required tools are installed on your machine.

 

Jehan

 

 

 

 

 

Le 2 oct. 2013 à 17:44, Riccardo Sacchi <address@hidden> a écrit :

 

Hi to everyone, I’m trying to compile Linphone on Android (arm processor), but I’ve a problem with the belle_sdp_impl.c file. This C file includes the "belle_sdpParser.h" and "belle_sdpLexer.h", but both files are not present in any folder. I’ve also tried to download the Belle-sip separately, but I haven’t be able to find the files.

 

Thank you and best regards

 

Riccardo Sacchi

 

_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]