2013-06-22 70 views
0

我在爲Android構建Linphone應用程序。我在Windows 8 64位操作系統Linphone編譯Windows 8

工作,我跟着README文件中給出的步驟:在Cygwin的終端

Download the Android ndk (>=r5c) from google. 
Install the autotools: autoconf, automake, aclocal, libtoolize pkgconfig 

Run the ./prepare_sources.sh script in the top level directory. This will download iLBC source files and convert some assembly files in VP8 project. 
$ ./prepare_sources.sh 

Finally from directory linphone-android, just execute command: 
$ ${my google ndk directory}/ndk-build 

然後我得到以下錯誤:

$ ./prepare_sources。 sh ./prepare_sources.sh:line 2:$'\ r':command not found ./prepare_sources.sh:line 3:C:UsersNomsDesktoplinphone-android:command not found ./prepare_sources.sh:line 4:$ '\ r':找不到命令 ./prepare_source s.sh:第29行:附近意外的標記$'\r'' ./prepare_sources.sh: line 29: CD $ TOPDIR /子模塊/ libilbc-rfc3951 & & ./autog'n.sh & &的./configure & &化妝語法錯誤|| (回聲「iLBC準備階段失敗」;退出1)

+0

你有cygwin安裝和配置在你的電腦上? – 323go

+0

@ 323go ..是的,我已經安裝了cygwin和autotools。 – Noman

回答

0

嘗試使用mingw來編譯它。我已經成功建立了圖書館。但還沒有apk,導致myeclipse中的一些構建錯誤...

+0

我已經安裝..現在如何編譯? – Noman