我正在为 android 构建 Linphone 应用程序。我在 Windows 8 64 位操作系统中工作
我按照自述文件中给出的步骤操作:
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
然后我在 Cygwin 终端中收到以下错误:
$ ./prepare_sources.sh ./prepare_sources.sh:第 2 行:$'\r':找不到命令 ./prepare_sources.sh:第 3 行:C:UsersNomsDesktoplinphone-android:找不到命令 ./prepare_sources.sh:第 4 行: $'\r': 找不到命令 ./prepare_sources.sh: 第 29 行:意外标记附近的语法错误
$'\r'' ./prepare_sources.sh: line 29:
cd $topdir/submodules/libilbc-rfc3951 && ./autog'n.sh && ./configure && make || (回显“iLBC 准备阶段失败”;退出 1)