您好我正在尝试使用视频功能编译PJSUA。根据{{3}}我配置了我的Android.mk文件。
# Path to SWIG
MY_SWIG := /home/neosoft/PJSIPTOOLS/swig-3.0.7/swig
MY_MODULE_PATH := $(PJDIR)/pjsip-apps/build/output/pjsua-$(TARGET_NAME)
MY_MODULES := $(MY_MODULE_PATH)/pjsua_app.o \
$(MY_MODULE_PATH)/pjsua_app_cli.o \
$(MY_MODULE_PATH)/pjsua_app_common.o \
$(MY_MODULE_PATH)/pjsua_app_config.o \
$(MY_MODULE_PATH)/pjsua_app_legacy.o
根据文档运行ndk-build命令后,我收到以下错误。
ndk-build命令:./ndk-build -C /home/neosoft/PJSUA/pjproject-2.4.5/pjsip-apps/src/pjsua/android/
错误:
[armeabi] Compile++ thumb: pjsua <= pjsua_wrap.cpp
jni/pjsua_wrap.cpp: In member function 'virtual void SwigDirector_PjsuaAppCallback::onStarted(const char*)':
jni/pjsua_wrap.cpp:710:52: error: exception handling disabled, use -fexceptions to enable
throw Swig::DirectorException(jenv, swigerror);
^
make: *** [obj/local/armeabi/objs/pjsua/pjsua_wrap.o] Error 1
make: Leaving directory `/home/neosoft/PJSUA/pjproject-2.4.5/pjsip-apps/src/pjsua/android'
有任何建议如何解决这个问题?