gossip icon indicating copy to clipboard operation
gossip copied to clipboard

Not getting compiled

Open jyotiSharma1 opened this issue 11 years ago • 32 comments

Hi, i'm working on it since 4 days but haven't found any way to compile it.Everytime it gives missing message of some files.Please help me and post a proper way through a doc file to compile the same.

Thanks & Regards iOS Developer

jyotiSharma1 avatar Jul 11 '14 05:07 jyotiSharma1

The referenced PJSIP repository is updated every now and then and supposedly, the referenced commit in gossip has been removed/updated. I will update both PJSIP and gossip and let you know.

chakrit avatar Jul 12 '14 05:07 chakrit

@jyotiSharma1 I have just updated both GOSSIP and PJSIP to latest version. Can you try from scratch again?

chakrit avatar Jul 12 '14 16:07 chakrit

@chakrit : Hi Chakrit, Hope you're doing well! Firstly,Thanks for your reply. I tried it again but it's still giving me the same issue of missing files.

jyotiSharma1 avatar Jul 14 '14 05:07 jyotiSharma1

Which file is missing? Have you do the submodule checkout thing?

chakrit avatar Jul 14 '14 06:07 chakrit

'pj/config_site.h' file not found

jyotiSharma1 avatar Jul 14 '14 09:07 jyotiSharma1

initially too it gave me the same ,actually it give the same for every file started with pj,as it doesn't get pj folder.Please tell me the steps to add it in project.

jyotiSharma1 avatar Jul 14 '14 09:07 jyotiSharma1

@chakrit :Also when i'm sub moduling it as ypu mentioned over here,i got this

Submodule path 'pjsip/src': checked out 'b0af6c8fc8ed97bb03d3afa4ab42c24f46a9212b' Unable to checkout '34fcf7a8574c80fb23a3e22b57bc3b38eafe3837' in submodule path 'docs'

jyotiSharma1 avatar Jul 14 '14 10:07 jyotiSharma1

not getting the what the issue in it.

jyotiSharma1 avatar Jul 14 '14 10:07 jyotiSharma1

docs folder is not really needed so you can ignore that.

chakrit avatar Jul 14 '14 10:07 chakrit

How are you linking against Gossip?

chakrit avatar Jul 14 '14 10:07 chakrit

i have just downloaded the code n start running it.It gave files missing issue .so i deleted pjsip folder and added again but still it gives me the same

jyotiSharma1 avatar Jul 14 '14 10:07 jyotiSharma1

I says error on this this time : #import <pj/config_site.h>

and in your project there is not any folder for pj....

jyotiSharma1 avatar Jul 14 '14 10:07 jyotiSharma1

@chakrit : can you tell me step by step process to get the project working ,as it's very urgent for me.

jyotiSharma1 avatar Jul 14 '14 10:07 jyotiSharma1

i think the header search path settings might be incorrect somewhere. what is the value of your header search path settings?

This is what I have on my machine which is the same as the latest commit:

And it builds and runs fine.

chakrit avatar Jul 14 '14 10:07 chakrit

There is no pj folder because it is an external dependency. They reside in the PJSIP source tree. What is needed is the PJSIP submodule properly checked out and the header search path settings intact and they should compile.

chakrit avatar Jul 14 '14 10:07 chakrit

screen shot 2014-07-14 at 3 50 17 pm

jyotiSharma1 avatar Jul 14 '14 10:07 jyotiSharma1

i'm getting this

jyotiSharma1 avatar Jul 14 '14 10:07 jyotiSharma1

BTW I'm on Xcode 5.1.1 just in case.

chakrit avatar Jul 14 '14 10:07 chakrit

Hmmm... the release list is broken. Fixing...

chakrit avatar Jul 14 '14 10:07 chakrit

ok,Have you got the issue?

jyotiSharma1 avatar Jul 14 '14 10:07 jyotiSharma1

Ok, can you try git pull on the gossip project root folder and try building again?

chakrit avatar Jul 14 '14 10:07 chakrit

doing...trying

jyotiSharma1 avatar Jul 14 '14 10:07 jyotiSharma1

i have write "git pull " command on terminal but it doesn't do anything

jyotiSharma1 avatar Jul 14 '14 10:07 jyotiSharma1

Gossip.xcodeproj/project.pbxproj | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)

jyotiSharma1 avatar Jul 14 '14 10:07 jyotiSharma1

It gives me this part on terminal can you tell me what does it mean? @chakrit

jyotiSharma1 avatar Jul 14 '14 10:07 jyotiSharma1

It means you get some of the changes I've made to the project.pbxproj file. Does it build now?

chakrit avatar Jul 14 '14 10:07 chakrit

No :(

jyotiSharma1 avatar Jul 14 '14 10:07 jyotiSharma1

gives me same

jyotiSharma1 avatar Jul 14 '14 10:07 jyotiSharma1

What is your xcode version. Don't really see what could go wrong.

chakrit avatar Jul 14 '14 15:07 chakrit

@jyotiSharma1 did you get the solution for this issue? @chakrit here is my progress: step 1: run: git clone git://github.com/chakrit/gossip.git cd gossip git submodule init git submodule update --recursive => Unable to checkout '34fcf7a8574c80fb23a3e22b57bc3b38eafe3837' in submodule path 'docs' it can be ignored (as you said before). step 2: cd to gossip folder and open Gossip.xcodeproj step 3: build => error: "pj/config_site.h" file not found (in the PJSIP.h file; line 38: #import <pj/config_site.h>)

What is wrong with me?

vdtuan avatar Oct 22 '14 09:10 vdtuan