2013-06-22 69 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