How to solve this situation about ffmpeg with Android NDK

Terry-Liu

I used Android NDK to Compile ffmpeg ,when I run config.sh,so many erros happened,how to solve it.

Terry-L@Terry-L-HP /cygdrive/e/Android/android-ndk-r8d/samples/FFmpeg/jni/ffmpeg
$ ./config.sh

Unknown option "".
See ./configure --help for available options.
./config.sh: line 6: --target-os=linux: command not found
./config.sh: line 7: --arch=arm: command not found
./config.sh: line 8: --enable-version3: command not found
./config.sh: line 9: --enable-gpl: command not found
./config.sh: line 10: --enable-nonfree: command not found
./config.sh: line 11: --disable-stripping: command not found
./config.sh: line 12: --disable-ffmpeg: command not found
./config.sh: line 13: --disable-ffplay: command not found
./config.sh: line 14: --disable-ffserver: command not found
./config.sh: line 15: --disable-ffprobe: command not found
./config.sh: line 16: --disable-encoders: command not found
./config.sh: line 17: --disable-muxers: command not found
./config.sh: line 18: --disable-devices: command not found
./config.sh: line 19: --disable-protocols: command not found
./config.sh: line 20: --enable-protocol=file: command not found
./config.sh: line 21: --enable-avfilter: command not found
./config.sh: line 22: --disable-network: command not found
./config.sh: line 23: --disable-mpegaudio-hp: command not found
./config.sh: line 24: --disable-avdevice: command not found
./config.sh: line 25: --enable-cross-compile: command not found
./config.sh: line 26: --cc=/cygdrive/e/Android/android-ndk-r8d/toolchains/arm-li                                                                                                                nux-androideabi-4.6/prebuilt/windows/bin/arm-linux-androideabi-gcc: No such file                                                                                                                 or directory
./config.sh: line 27: --cross-prefix=/cygdrive/e/Android/android-ndk-r8d/toolcha                                                                                                                ins/arm-linux-androideabi-4.6/prebuilt/windows/bin/arm-linux-androideabi-: No su                                                                                                                ch file or directory
./config.sh: line 28: --nm=/cygdrive/e/Android/android-ndk-r8d/toolchains/arm-li                                                                                                                nux-androideabi-4.6/prebuilt/windows/bin/arm-linux-androideabi-nm: No such file                                                                                                                 or directory
./config.sh: line 29: --extra-cflags=-fPIC -DANDROID: command not found
./config.sh: line 30: --disable-asm: command not found
./config.sh: line 31: --enable-neon: command not found
./config.sh: line 32: --enable-armv5te: command not found
./config.sh: line 33: --extra-ldflags=-Wl,-T,/cygdrive/e/Android/android-ndk-r8d                                                                                                            

/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/arm-linux-androideabi/lib /ldscripts/armelf_linux_eabi.x -Wl,-rpath-link=/cygdrive/e/Android/android-ndk-r 8d/platforms/android-14/arch-arm/usr/lib -L/cygdrive/e/Android/android-ndk-r8d/p latforms/android-14/arch-arm/usr/lib -nostdlib /cygdrive/e/Android/android-ndk-r 8d/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/lib/gcc/arm-linux-andro ideabi/4.6/crtbegin.o /cygdrive/e/Android/android-ndk-r8d/toolchains/arm-linux-a ndroideabi-4.6/prebuilt/windows/lib/gcc/arm-linux-androideabi/4.6/crtend.o -lc - lm -ldl: No such file or directory

Sinh Ho

You are using cywin to build ffmpeg, so you will get many problems with it. I recommend you should build it on linux.

The above error maybe missing configure ENV. You need to add $NDK to $PATH.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How to solve the compile error in Android NDK?

From Dev

How to solve the "undefined reference to 'ntohl'" compile error in Android NDK?

From Dev

rendering YUV ffmpeg frames in Android native ndk

From Dev

How to install android NDK?

From Dev

How to compile ffmpeg-2.2.2 on windows with cygwin and android ndk r9c

From Dev

How to compile ffmpeg-2.2.2 on windows with cygwin and android ndk r9c

From Dev

How to configure FFmpeg library with ndk r12 using windows 7 64 bit operating system for android

From Dev

How to solve this programming situation using Clojure in a functional manner?

From Dev

Cannot solve "undefined reference to" error building an Android NDK library

From Dev

How to exit an android NDK application

From Dev

How to install android ndk in linux?

From Dev

Compiling FFmpeg 2.3 with Android NDK r10

From Dev

video processing on android using ndk with ffmpeg and opencv is very slow

From Dev

FFMPEG 2.5.4 build for Android with NDK r10d

From Dev

Compiling FFmpeg 3.1.1 for x86 using Android NDK

From Dev

need help configuring ffmpeg to decode raw AAC with android ndk

From Dev

ffmpeg - android ndk build assembler messages bad instruction

From Dev

how to overcome from this situation of tabwidget in android

From Dev

how to overcome from this situation of tabwidget in android

From Dev

How to modify the listview content in this situation in android?

From Dev

ffmpeg unable to record video with audio how to solve it?

From Dev

how to solve onTouchListener android

From Dev

How to solve NullPointerExpression in Android?

From Dev

how to solve onTouchListener android

From Dev

How to convert Android code to C in Android NDK

From Dev

How to solve SonarQube complaints about my code?

From Dev

How to solve an error about incompatible types?

From Dev

How to solve SonarQube complaints about my code?

From Dev

How to solve this error?about node.js

Related Related

  1. 1

    How to solve the compile error in Android NDK?

  2. 2

    How to solve the "undefined reference to 'ntohl'" compile error in Android NDK?

  3. 3

    rendering YUV ffmpeg frames in Android native ndk

  4. 4

    How to install android NDK?

  5. 5

    How to compile ffmpeg-2.2.2 on windows with cygwin and android ndk r9c

  6. 6

    How to compile ffmpeg-2.2.2 on windows with cygwin and android ndk r9c

  7. 7

    How to configure FFmpeg library with ndk r12 using windows 7 64 bit operating system for android

  8. 8

    How to solve this programming situation using Clojure in a functional manner?

  9. 9

    Cannot solve "undefined reference to" error building an Android NDK library

  10. 10

    How to exit an android NDK application

  11. 11

    How to install android ndk in linux?

  12. 12

    Compiling FFmpeg 2.3 with Android NDK r10

  13. 13

    video processing on android using ndk with ffmpeg and opencv is very slow

  14. 14

    FFMPEG 2.5.4 build for Android with NDK r10d

  15. 15

    Compiling FFmpeg 3.1.1 for x86 using Android NDK

  16. 16

    need help configuring ffmpeg to decode raw AAC with android ndk

  17. 17

    ffmpeg - android ndk build assembler messages bad instruction

  18. 18

    how to overcome from this situation of tabwidget in android

  19. 19

    how to overcome from this situation of tabwidget in android

  20. 20

    How to modify the listview content in this situation in android?

  21. 21

    ffmpeg unable to record video with audio how to solve it?

  22. 22

    how to solve onTouchListener android

  23. 23

    How to solve NullPointerExpression in Android?

  24. 24

    how to solve onTouchListener android

  25. 25

    How to convert Android code to C in Android NDK

  26. 26

    How to solve SonarQube complaints about my code?

  27. 27

    How to solve an error about incompatible types?

  28. 28

    How to solve SonarQube complaints about my code?

  29. 29

    How to solve this error?about node.js

HotTag

Archive