How to compile the pjsip 1.8 for iOS4 iPhone with Xcode?

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

 



That isn't the full error. If it was, there is nothing to do other than play around. libVoiceBase is for my application only, unless you remove the code that has to do with MGMUsers as MGMUsers is my private framework that crashes your app if it's not my app. You can take the SIP folder and use it in your own project, but remember that you have to follow the license for it.

On Oct 1, 2010, at 9:27 AM, Shakti XTPL wrote:

> Hi,
> I have tried the steps you have provided.
> Its showing the following error
> 
> Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1
> 
> What about the .a file? In your project you have included the "libVoiceBase.a". What is that?
> 
> On 01-Oct-2010, at 5:58 PM, Mr. Gecko wrote:
> 
>> I do not have instructions, but to do it, you need to double click the target for your application and go into the build tab. Once there follow these steps
>> 1. Search for "Other C Flags" and make it equal "-DPJ_AUTOCONF=1 -DNDEBUG -DMGMSIPENABLED=1" (Without quotes and you can remove -DMGMSIPENABLED=1 if your not going to use my SIP wrapper).
>> 2. Search for "Header Search Paths" and add "$(SRCROOT)/SIP/opt/include" (With quotes and if you place it in another location, change accordingly).
>> 3. Search for "Library Search Paths" and add "$(SRCROOT)/SIP/opt/lib" (With quotes and if you place it in another location, change accordingly).
>> 4. Search for "Other Linker Flags" and make it equal "-lg7221codec-ios-universal -lgsmcodec-ios-universal -lilbccodec-ios-universal -lmilenage-ios-universal -lpj-ios-universal -lpjlib-util-ios-universal -lpjmedia-audiodev-ios-universal -lpjmedia-codec-ios-universal -lpjmedia-ios-universal -lpjnath-ios-universal -lpjsip-ios-universal -lpjsip-simple-ios-universal -lpjsip-ua-ios-universal -lpjsua-ios-universal -lresample-ios-universal -lspeex-ios-universal -lsrtp-ios-universal" (Without quotes).
>> 
>> And that should be it, you only need to include in your source code the headers needed. I only included this one, so I'll use it as an example.
>> #import <pjsua-lib/pjsua.h>
>> 
>> Hope that helps you.
>> 
>> On Oct 1, 2010, at 4:37 AM, Shakti XTPL wrote:
>> 
>>> Hi,
>>> Thanks for your reply.
>>> Now I am able to compile the pjproject. 
>>> I got stuck with making .a file to include in the xcode project.
>>> Do you have any doc which explain the procedure in detail?
>>> 
>>> 
>>> On 30-Sep-2010, at 5:41 PM, Mr. Gecko wrote:
>>> 
>>>> Things to make sure your doing.
>>>> 1. It is not in a directory hierarchy that has a space or special character (') in it.
>>>> 2. The name of the folder that contains pjproject must be named pjproject.
> 
> Regards
> 
> Shaktising Pardeshi
> XTPL Pune.
> shakti.p at xercestechnologies.net
> 
> 
> 
> 
> 
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20101001/b9a01531/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4657 bytes
Desc: not available
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20101001/b9a01531/attachment.p7s>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux