Pjsip on iPhone simulator

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

 



Hi,

that might help: 
http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2011-October/013481.html

This posting tells us to change the configure-iphone script. It's not completely up-to-date with the current pjsip version, here is the diff of my changes:
-./aconfigure --host=arm-apple-darwin9 --disable-floating-point --disable-sdl $*
+./aconfigure --host=arm-apple-darwin10 --disable-floating-point --disable-sdl $*

Also make sure your exported paths are correct. The current Xcode version apparently stores the simulator in a different directory than you 
That's what works for me:
# export DEVPATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/
# export CC=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc
# CFLAGS="-O2 -m32 -miphoneos-version-min=4.0" LDFLAGS="-O2 -m32" 
# ./configure-iphone
# make dep && make clean && make

-Martin


On Jul 19, 2012, at 12:37 , Vinayaka . surya wrote:

> Hello there fellow coders,
> I'm trying to install pjsip on the iPhone simulator, but I have un into problems. I followed the tutorial from http://trac.pjsip.org/repos/wiki/Getting-Started/iPhone , and did the following steps. 
> 
> pjproject-2.0.1 $ export DEVPATH=/Developer/Platforms/iPhoneSimulator.platform/Developer
> 
> pjproject-2.0.1 $ export CC=/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.0
> 
> pjproject-2.0.1 $ ./configure-iphone configure-iphone error: directory /Developer/Platforms/iPhoneSimulator.platform/Developer does not exist. Please install iPhone development kit
> 
> What am I missing here. Could someone please give me some clues as to how to proceed in resolving this error.
> 
> Regards,
> Vinu
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
> 
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org




[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