Closed kavinchauhan closed 8 years ago
@saravanandm , Thank you so much for your help. Here is one step where I got error after building using make
These are the steps I am following:
After successful completion of make command, tried to build xcode project and it shows this error.
I have compiled pjsip library for archietecture i386. After completion of make command, under /pjsip2.5/third_party/build/bcg729, "output" folder also created with .o files
I can able to built it for iOS 9.2 simulator. By following the below steps.
if you still get the same error clean and try again.
NOTE: Make sure your selected xcode path is same as DEVPATH. To check selected xcode path xcode-select -p
To switch xcode path sudo xcode-select -switch /Applications/Xcode.app/Contents/Develo
@saravanandm , I tried these commands. After "./configure-iphone" , It shows me this kind of error: aconfigure: error: C compiler cannot create executables
@saravanandm ,
I again tried your solution after restarting mac terminal,
That's good to hear!
Hello @saravnandm , I have the same problem. I tried everything and i have the problem with all architectures (armv7, i386, arm64) i'm using xcode 9.4.1, swift 4, and pjsip 2.8 with the 2.5 patch.
Hi @saravnandm I am trying the solution but getting below compilation issues -
Undefined symbols for architecture i386: "_pjmedia_codec_bcg729_init", referenced from: _pjmedia_codec_register_audio_codecs in libpjmedia-codec-i386-apple-darwin_ios.a(audio_codecs.o) ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: [../bin/pjsua2-test-i386-apple-darwin_ios] Error 1 make[1]: [pjsua2-test-i386-apple-darwin_ios] Error 2 make: *** [all] Error 1
Could you please help in this?
The patch will work on pjsip2.5 and below for sure. Will start for pjsip2.8 soon. Could you please clean and build it again?
I have tried everything. That is good to hear that you are about to start for 2.8. Could you please let me know if possible, when you are planning for 2.8
I highly appreciate !! Thanks
@saravnandm saravnandm have you done with PJSIP 2.8?
Hi saravanandm, You are a genius!!! this is really helpful to me for integrate g729 in pjsip2.5. I am just stuck somewhere with xcode build. I have successfully merge patch and files in pjsip2.5 and also make successful. but when I build project in xcode for simulator with iphone4s. it's shown build failed and giving some linker errors attached here.![pjsip](https://cloud.githubusercontent.com/assets/13145201/15957489/23f69220-2f0d-11e6-923b-fc9c0c6dfb32.png)