pjsip and iOS5

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

 



Hi.

finally at home! I only has this in the script:

export ARCH="-arch armv7" 

and when I do `./configure-iphone` in the pjsip sources, it use the correct compiler.

BTW I think maybe you haven't checked out the sip source submodule?
i.e. have you `git submodule init && git submodule update` ?
Maybe that's why there's nothing there.

- chakrit


On Wednesday, July 25, 2012 at 8:56 PM, Parvez Qureshi wrote:

> Meanwhile can you please suggest the export settings for iOS device i.e.
> what values to use for:
> export DEVPATH
> export CC
> export CXX
> export CFLAGS
> export LDFLAGS
> 
> The sdk is ios 5.1 in xcode 4.3.3 on mac os x 10.7.4.
> 
> Thanks
> From: pjsip-bounces@xxxxxxxxxxxxxxx (mailto:pjsip-bounces at lists.pjsip.org) [pjsip-bounces at lists.pjsip.org (mailto:pjsip-bounces at lists.pjsip.org)] on behalf of Chakrit Wichian [konshasu at chakrit.net (mailto:konshasu at chakrit.net)]
> Sent: Wednesday, July 25, 2012 5:39 PM
> To: pjsip list
> Subject: Re: pjsip and iOS5
> 
> Hmmm, I will check again for you in a few hrs. 
> 
> I think maybe the include path in the xcode project maybe wrong.
> 
> - chakrit 
> 
> On Jul 25, 2012, at 19:07, Parvez Qureshi <parvez.qureshi at decurtis.com (mailto:parvez.qureshi at decurtis.com)> wrote:
> 
> > Sorry for sending such small chunks of replies but here I see
> > config_site.h file already there under pjsip folder and there is no pjlib folder too.
> > From: pjsip-bounces@xxxxxxxxxxxxxxx (mailto:pjsip-bounces at lists.pjsip.org) [pjsip-bounces at lists.pjsip.org (mailto:pjsip-bounces at lists.pjsip.org)] on behalf of Chakrit Wichian [konshasu at chakrit.net (mailto:konshasu at chakrit.net)]
> > Sent: Wednesday, July 25, 2012 5:18 PM
> > To: pjsip list
> > Subject: Re: pjsip and iOS5
> > 
> > Hmm, I'm not sure. 
> > 
> > Can you try copying the config_site.h file into the folder manually? BTW the script is not configured to build a simulator-compatible version you might have better luck on actual devices. 
> > 
> > I'm heading out of office right now. Will check again when I'm home. 
> > 
> > Its very beta-quality atm. so YMMV you might need to configure it a bit before it'll builds but it does works on my machine (and iPhone 4s)
> > 
> > - chakrit 
> > 
> > On Jul 25, 2012, at 18:40, Parvez Qureshi <parvez.qureshi at decurtis.com (mailto:parvez.qureshi at decurtis.com)> wrote:
> > 
> > > ok
> > > After this I go to compiling your sample xcode project for simulator. Again it gives compilation error for 
> > > #import <pj/config_site.h> saying pj/config_site.h file not found. Am I missing any other step?
> > > From: pjsip-bounces@xxxxxxxxxxxxxxx (mailto:pjsip-bounces at lists.pjsip.org) [pjsip-bounces at lists.pjsip.org (mailto:pjsip-bounces at lists.pjsip.org)] on behalf of Chakrit Wichian [konshasu at chakrit.net (mailto:konshasu at chakrit.net)]
> > > Sent: Wednesday, July 25, 2012 5:05 PM
> > > To: pjsip list
> > > Subject: Re: pjsip and iOS5
> > > 
> > > If you run the build-pjsip script, it'll copy the config_site.h file in the same folder into place automatically. 
> > > 
> > > The actual pjsip source is in the pjsip/source folder. 
> > > 
> > > - chakrit 
> > > 
> > > 
> > > On Wednesday, July 25, 2012 at 6:33 PM, Parvez Qureshi wrote:
> > > 
> > > > After running ./build-pjsip using terminal, I do not find pjlib directory where to copy the config_site.h file in your checked project from github.
> > > > From: pjsip-bounces@xxxxxxxxxxxxxxx (mailto:pjsip-bounces at lists.pjsip.org) [pjsip-bounces at lists.pjsip.org (mailto:pjsip-bounces at lists.pjsip.org)] on behalf of Chakrit Wichian [konshasu at chakrit.net (mailto:konshasu at chakrit.net)]
> > > > Sent: Wednesday, July 25, 2012 4:17 PM
> > > > To: pjsip list
> > > > Subject: Re: pjsip and iOS5
> > > > 
> > > > Hi Parvez, 
> > > > 
> > > > I am also building a PJSIP client application on iOS5. 
> > > > You can check out what I have been working on on GitHub:
> > > > https://github.com/chakrit/gossip
> > > > 
> > > > - chakrit 
> > > > 
> > > > 
> > > > On Wednesday, July 25, 2012 at 5:45 PM, Parvez Qureshi wrote:
> > > > 
> > > > > hello all
> > > > > I am be able to compile the pjsip sdk version 1.14.2 for iOS 5.1 using Xcode 4.3.3 on mac os x 10.7.4 for iphone simulator using the below given settings [All commands are run on terminal]:
> > > > > 
> > > > > export DEVPATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer
> > > > > export CC=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-gcc-4.2
> > > > > export CFLAGS="-O2 -m32 -miphoneos-version-min=5.1" LDFLAGS="-O2 -m32"
> > > > > export ARCH="-arch i686"
> > > > > ./configure-iphone
> > > > > make dep && make clean && make
> > > > > 
> > > > > There are a few questions:
> > > > > 1. Can I make voice call using pjsip in ios5?
> > > > > 2. What are the headers from pjsip do I need to include in my Xcode iOS project so that I can make/receive calls. Also in the documentation I do not find any mention on the methods from pjsip library that one can make use of for making/receiving calls.
> > > > > 3. What changes I need to make in above build settings in order to build this library for iOS device?
> > > > > 
> > > > > Thanks
> > > > > parvez
> > > > > _______________________________________________ 
> > > > > Visit our blog: http://blog.pjsip.org
> > > > > 
> > > > > pjsip mailing list 
> > > > > pjsip at lists.pjsip.org (mailto:pjsip at lists.pjsip.org)
> > > > > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > 
> > > > 
> > > > _______________________________________________ 
> > > > Visit our blog: http://blog.pjsip.org
> > > > 
> > > > pjsip mailing list 
> > > > pjsip at lists.pjsip.org (mailto:pjsip at lists.pjsip.org)
> > > > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
> > > > 
> > > > 
> > > > 
> > > 
> > > 
> > > _______________________________________________
> > > Visit our blog: http://blog.pjsip.org
> > > 
> > > pjsip mailing list
> > > pjsip at lists.pjsip.org (mailto:pjsip at lists.pjsip.org)
> > > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
> > _______________________________________________
> > Visit our blog: http://blog.pjsip.org
> > 
> > pjsip mailing list
> > pjsip at lists.pjsip.org (mailto:pjsip at lists.pjsip.org)
> > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
> 
> pjsip mailing list
> pjsip at lists.pjsip.org (mailto:pjsip at lists.pjsip.org)
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
> 
> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120725/1f2e8cbd/attachment.html>


[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