2013-11-14 31 views
1

我正在使用Linphone使用SIP的應用程序。 我從git倉庫:Linphone Android - 錯誤嘗試make(構建x86的libvpx失敗| vp8) - Mac OSX

git clone git://git.linphone.org/linphone-android.git --recursive

我跟着自述,如果我執行make得到以下錯誤:

/Users/---/Development/AndroidSIPPI/linphone-android/submodules/externals/libvpx/vp8/encoder/onyx_if.c: In function 'vp8_create_compressor': /Users/---/Development/AndroidSIPPI/linphone-android/submodules/externals/libvpx/vp8/encoder/onyx_if.c:2059:45: error: 'vp8_copy32xn' undeclared (first use in this function) /Users/---/Development/AndroidSIPPI/linphone-android/submodules/externals/libvpx/vp8/encoder/onyx_if.c:2059:45: note: each undeclared identifier is reported only once for each function it appears in [CC] vp8/encoder/picklpf.c.o make[2]: * [vp8/encoder/onyx_if.c.o] Error 1 make[2]: Waiting for unfinished jobs.... make[1]: [.DEFAULT] Error 2 Build of libvpx for x86 failed. make: * [/Users/---/Development/AndroidSIPPI/linphone-android/submodules/externals/build/libvpx/x86/libvpx.a] Error 1

我想在Linphone中庫導入到我現有的項目。任何人都可以幫助我,還是有更好的方法?

回答

1

問題解決。

PATH變量必須設置正確!

上MAC:

sudo vi /etc/paths

並添加

/Users/USERNAME/YOURPATH/android-ndk-r9b 

/Users/USERNAME/YOURPATH/adt-bundle-mac-x86_64-20130522/sdk 

/Users/USERNAME/YOURPATH/adt-bundle-mac-x86_64-20130522/sdk/tools 

/Users/USERNAME/YOURPATH/adt-bundle-mac-x86_64-20130522/sdk/platform-tools 

,還可以使用PORT來安裝所有包depencies

相關問題