tags:

views:

61

answers:

1

G'day guys, I've been having issues with compiling pjsip for iOS 4.0.

I'm using the latest trunk version from SVN and keep getting a portaudio error. When using the piedmontwireless guide: http://www.piemontewireless.net/PJSip155_and_iPhoneSDK312 I get a missing separator error in my build.mak file, which would indicate a whitespace/tabbing error, but for the life of me I cannot find it.

According to the pjsip mailing lists, you should be able to compile out of the box for iOS 4.0, but I get this error:

 ../src/pjmedia-audiodev/errno.c:23:26: error: portaudio.h: No such file or directory
../src/pjmedia-audiodev/errno.c: In function ‘pjmedia_audiodev_strerror’:
../src/pjmedia-audiodev/errno.c:104: warning: implicit declaration of function ‘Pa_GetErrorText’
make[2]: *** [output/pjmedia-audiodev-arm-apple-darwin9/errno.o] Error 1
make[1]: *** [pjmedia-audiodev] Error 2

I'll keep punching through this but any help would be really appreciated.

EDIT: I do have portaudio.h

A: 

Hi,

The trunk version of pjsip now supports iOS directly. Have a look at http://trac.pjsip.org/repos/wiki/Getting-Started/iPhone

There is no need for PortAudio etc.

Perry Ismangil