Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not getting compiled #12

Open
jyotiSharma1 opened this issue Jul 11, 2014 · 32 comments
Open

Not getting compiled #12

jyotiSharma1 opened this issue Jul 11, 2014 · 32 comments

Comments

@jyotiSharma1
Copy link

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

@chakrit
Copy link
Owner

chakrit commented Jul 12, 2014

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
Copy link
Owner

chakrit commented Jul 12, 2014

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

@jyotiSharma1
Copy link
Author

@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.

@chakrit
Copy link
Owner

chakrit commented Jul 14, 2014

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

@jyotiSharma1
Copy link
Author

'pj/config_site.h' file not found

@jyotiSharma1
Copy link
Author

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
Copy link
Author

@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
Copy link
Author

not getting the what the issue in it.

@chakrit
Copy link
Owner

chakrit commented Jul 14, 2014

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

@chakrit
Copy link
Owner

chakrit commented Jul 14, 2014

How are you linking against Gossip?

@jyotiSharma1
Copy link
Author

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
Copy link
Author

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

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

@jyotiSharma1
Copy link
Author

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

@chakrit
Copy link
Owner

chakrit commented Jul 14, 2014

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
Copy link
Owner

chakrit commented Jul 14, 2014

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.

@jyotiSharma1
Copy link
Author

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

@jyotiSharma1
Copy link
Author

i'm getting this

@chakrit
Copy link
Owner

chakrit commented Jul 14, 2014

BTW I'm on Xcode 5.1.1 just in case.

@chakrit
Copy link
Owner

chakrit commented Jul 14, 2014

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

@jyotiSharma1
Copy link
Author

ok,Have you got the issue?

@chakrit
Copy link
Owner

chakrit commented Jul 14, 2014

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

@jyotiSharma1
Copy link
Author

doing...trying

@jyotiSharma1
Copy link
Author

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

@jyotiSharma1
Copy link
Author

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

@jyotiSharma1
Copy link
Author

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

@chakrit
Copy link
Owner

chakrit commented Jul 14, 2014

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

@jyotiSharma1
Copy link
Author

No :(

@jyotiSharma1
Copy link
Author

gives me same

@chakrit
Copy link
Owner

chakrit commented Jul 14, 2014

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

@vdtuan
Copy link

vdtuan commented Oct 22, 2014

@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
Copy link

vdtuan commented Oct 22, 2014

hmm, i fixed it!
This is my solution:
Go to the pj folder and create new config_site.h (it includes site/user specific configuration to control PJLIB features).

@volchanka
Copy link

@jyotiSharma1 you need to build PJSIPs
https://github.com/chakrit/gossip#build-pjsips
"Before GOSSIP will build, you must first have a working PJSIP binary either by:
...
For example, to create a new build for arm64, try the following:
$ cd gossip
$ cd pjsip
$ ./pjsip arm64
$ ./pjsip info arm64
"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants