我想用cygwin和android ndk在windows上編譯ffmpeg。 我發現這個鏈接非常有用,因爲有步驟指導編譯ffmpeg。如何用cygwin和android編譯ffmpeg-0.10.3 ndk r5
Does anyone find this useful? - Compiling FFMPEG on Windows with Cywin and NDK r5
但在當我要創建.so文件我在Cygwin的bash中得到這個錯誤最後一個點。
控制檯輸出:
vikram [email protected] ~
$ cd /cygdrive/c/ffmpeg-0.10.3
vikram [email protected] /cygdrive/c/ffmpeg-0.10.3
$ dos2unix build_android.sh
dos2unix: converting file build_android.sh to Unix format ...
vikram [email protected] /cygdrive/c/ffmpeg-0.10.3
$ ./build_android.sh
)/configure: line 10: warning: setlocale: LC_ALL: cannot change locale (C
': not a valid identifierort: `LC_ALL
./configure: line 14: syntax error near unexpected token `$'{\r''
'/configure: line 14: `try_exec(){
./build_android.sh: line 54: make: command not found
./build_android.sh: line 55: make: command not found
C:\android-ndk-r5\toolchains\arm-linux-androideabi-4.4.3\prebuilt\windows\bin\ar
m-linux-androideabi-ld.exe: cannot open output file ./android/armv7-a/libffmpeg.
so: No such file or directory
嗨,我使用您的代碼進行了備份,但它不工作,現在我安裝了make但仍然給出了「make file」錯誤。 – 2013-03-28 07:08:48