문제
iOS 4.0 용 PJSIP 컴파일 문제가 발생했습니다.
SVN에서 최신 트렁크 버전을 사용하고 PortAudio 오류를 계속 얻습니다.piedmontwireleseless 가이드를 사용할 때 : http://www.piemontewireless.net/pjsip155_and_iphonesdk312 누락 된 구분 기호를 얻습니다.My Build.mak 파일의 오류가 발생합니다.이 파일은 공백 / 탭 오류를 나타내지 만 나의 삶을 위해서는 찾을 수 없습니다.
PJSIP 메일 링리스트에 따르면 iOS 4.0 상자를 컴파일 할 수 있어야하지만이 오류가 발생합니다 :
../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
.
나는 이것을 통해 펀치를 계속하지만 도움이 될 것입니다.
편집 : Portaudio.h
가 있습니다.해결책
./configure-iphone
.
svn에서 신선한
Configurations for current target have been written to 'build.mak', and 'os-auto.mak' in various build directories, and pjlib/include/pj/compat/os_auto.h.
Further customizations can be put in:
- 'user.mak'
- 'pjlib/include/pj/config_site.h'
The next step now is to run 'make dep' and 'make'.
Done configuring for iPhoneOS4.2.sdk
.
은해서는 안됩니다 ./configure-iphone setup pjlib / include / pj / config_site.h
로
#define PJ_CONFIG_IPHONE 1
#include <pj/config_site_sample.h>
.
@schroedinger
고침에 감사드립니다.다른 팁
누락 된 특정 단계는 적절한 위치에 config_site.h 파일을 갖는 것입니다.
pjlib/include/pj/config_site.h
.
다음을 포함해야합니다.
#define PJ_CONFIG_IPHONE 1
#include <pj/config_site_sample.h>
.
구성이 필요하지 않은 라이브러리를 피하거나 iPhone에서 ARM 칩을 컴파일하지 않습니다.
이 첨가 후 다음과 같이 시작된 후 :
./configure-iphone
.
및 그 다음
make dep && make clean && make
. 제휴하지 않습니다 StackOverflow