3

I'm trying to build ffmpeg library for android, using roman10 tutorial

I am able to run build_android.sh script.. but its not creating that ‘android’ folder in my source/ffmpeg folder !!

In my case i try ffmpeg 3.0.1 in Ubuntu 14.04; 64bit.

In the command line

./build_android.sh: line 17: --prefix=/home/Admin/Documents/android-ndk-r9b/sources/ffmpeg-3.0.1/android/arm: No such file or directory

./build_android.sh: line 19: --enable-shared: command not found

./build_android.sh: line 21: --disable-static: command not found

./build_android.sh: line 23: --disable-doc: command not found

./build_android.sh: line 25: --disable-ffmpeg: command not found

./build_android.sh: line 27: --disable-ffplay: command not found

./build_android.sh: line 29: --disable-ffprobe: command not found

./build_android.sh: line 31: --disable-ffserver: command not found

./build_android.sh: line 33: --disable-avdevice: command not found

./build_android.sh: line 35: --disable-doc: command not found

./build_android.sh: line 37: --disable-symver: command not found

./build_android.sh: line 39: --cross-prefix=/home/Admin/Documents/android-ndk-r9b/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-: No such file or directory

./build_android.sh: line 41: --target-os=linux: command not found

./build_android.sh: line 43: --arch=arm: command not found

./build_android.sh: line 45: --enable-cross-compile: command not found

./build_android.sh: line 47: --sysroot=/home/Admin/Documents/android-ndk-r9b/platforms/android-9/arch-arm/: No such file or directory

./build_android.sh: line 49: --extra-cflags=-Os -fpic -marm: command not found

./build_android.sh: line 51: --extra-ldflags=: command not found

why android folder doesn't create,

please someone can guide me to do this.

Thanks for ur time.

4

1 回答 1

2

您可能有带有尾随空格的 build_android.sh 文件,或者丢失了\许多行末尾的字符。

为了便于阅读,这个 shell 脚本被分成了很多行,但从逻辑上讲,它几乎是一个很长的行

于 2016-04-16T18:02:54.540 回答