madhavanmalolan / ffmpegandroidlibrary

One line integration for FFMPEG Library in Android
MIT License
90 stars 15 forks source link

Error in build #33

Open krishnamurthy-srinivas opened 5 years ago

krishnamurthy-srinivas commented 5 years ago

Hi Madhavan,

I am trying build from source using the steps that you have given. I am building on a Windows pc so,

  1. Downloaded the android-ndk-r18b-windows-x86_64 ndk
  2. Cloned the ffmpeg source using git
  3. Replaced the 4 lines in the configure file
  4. Created the build_ffmpeg.sh file and added the content given in wiki
  5. Changed line 2 in the build_ffmpeg.sh to NDK=/mnt/c/Android/AndroidVideoProcessing/android-ndk-r18b-linux-x86_64/android-ndk-r18b which is the correct location of the ndk directory
  6. Changed line 3 in the build_ffmpeg.sh to SYSROOT=$NDK/platforms/android-16/arch-x86/
  7. Changed line 4 in the build_ffmpeg.sh to TOOLCHAIN=$NDK/toolchains/x86_64-4.9/prebuilt/linux-x86_64
  8. Changed line 23 in the build_ffmpeg.sh to --cross-prefix=$TOOLCHAIN/bin/x86_64-linux-android- \
  9. I then execute chmod a+x build_ffmpeg.sh
  10. Now, when I try to execute ./build_ffmpeg.sh, I get the following (=yes: not found eval are too many in number so am copying a few only here), can you please help me sort the problem out:

=yes: not found eval: librtmpte_protocol =yes: not found eval: libsrt_protocol =yes: not found eval: libssh_protocol =yes: not found eval: libsmbclient_protocol (there are many many more similar messages starting from =yes: not found eval: xxxxxx) Unknown option "--disable-ffserver". See ./configure --help for available options. Makefile:2: ffbuild/config.mak: No such file or directory Makefile:40: /tools/Makefile: No such file or directory Makefile:41: /ffbuild/common.mak: No such file or directory Makefile:91: /libavutil/Makefile: No such file or directory Makefile:91: /ffbuild/library.mak: No such file or directory Makefile:93: /fftools/Makefile: No such file or directory Makefile:94: /doc/Makefile: No such file or directory Makefile:95: /doc/examples/Makefile: No such file or directory Makefile:160: /tests/Makefile: No such file or directory make: No rule to make target '/tests/Makefile'. Stop. Makefile:2: ffbuild/config.mak: No such file or directory Makefile:40: /tools/Makefile: No such file or directory Makefile:41: /ffbuild/common.mak: No such file or directory Makefile:91: /libavutil/Makefile: No such file or directory Makefile:91: /ffbuild/library.mak: No such file or directory Makefile:93: /fftools/Makefile: No such file or directory Makefile:94: /doc/Makefile: No such file or directory Makefile:95: /doc/examples/Makefile: No such file or directory Makefile:160: /tests/Makefile: No such file or directory make: No rule to make target '/tests/Makefile'. Stop. Makefile:2: ffbuild/config.mak: No such file or directory Makefile:40: /tools/Makefile: No such file or directory Makefile:41: /ffbuild/common.mak: No such file or directory Makefile:91: /libavutil/Makefile: No such file or directory Makefile:91: /ffbuild/library.mak: No such file or directory Makefile:93: /fftools/Makefile: No such file or directory Makefile:94: /doc/Makefile: No such file or directory Makefile:95: /doc/examples/Makefile: No such file or directory Makefile:160: /tests/Makefile: No such file or directory make: *** No rule to make target '/tests/Makefile'. Stop.

Can you tell me what is causing the build to fail? Thanks a lot.

aisnote commented 2 years ago

I meet the same like:

=yes: not found eval: idcin_decoder
=yes: not found eval: iff_ilbm_decoder
=yes: not found eval: imm4_decoder
=yes: not found eval: indeo2_decoder
=yes: not found eval: indeo3_decoder
=yes: not found eval: indeo4_decoder
=yes: not found eval: indeo5_decoder
=yes: not found eval: interplay_video_decoder
=yes: not found eval: jpeg2000_decoder
=yes: not found eval: jpegls_decoder
=yes: not found eval: jv_decoder
=yes: not found eval: kgv1_decoder
=yes: not found eval: kmvc_decoder
=yes: not found eval: lagarith_decoder
=yes: not found eval: loco_decoder
=yes: not found eval: lscr_decoder
=yes: not found eval: m101_decoder
=yes: not found eval: magicyuv_decoder
=yes: not found eval: mdec_decoder
=yes: not found eval: mimic_decoder
=yes: not found eval: mjpeg_decoder
=yes: not found eval: mjpegb_decoder
=yes: not found eval: mmvideo_decoder
=yes: not found eval: motionpixels_decoder
=yes: not found eval: mpeg1video_decoder
=yes: not found eval: mpeg2video_decoder
=yes: not found eval: mpeg4_decoder
=yes: not found eval: mpeg4_crystalhd_decoder
=yes: not found eval: mpeg4_v4l2m2m_decoder
=yes: not found eval: mpeg4_mmal_decoder
=yes: not found eval: mpegvideo_decoder
=yes: not found eval: mpeg1_v4l2m2m_decoder
=yes: not found eval: mpeg2_mmal_decoder
=yes: not found eval: mpeg2_crystalhd_decoder
=yes: not found eval: mpeg2_v4l2m2m_decoder
=yes: not found eval: mpeg2_qsv_decoder
=yes: not found eval: mpeg2_mediacodec_decoder
=yes: not found eval: msa1_decoder
=yes: not found eval: mscc_decoder