-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Hi Madhavan,
I am trying build from source using the steps that you have given. I am building on a Windows pc so,
- Downloaded the android-ndk-r18b-windows-x86_64 ndk
- Cloned the ffmpeg source using git
- Replaced the 4 lines in the configure file
- Created the build_ffmpeg.sh file and added the content given in wiki
- 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
- Changed line 3 in the build_ffmpeg.sh to SYSROOT=$NDK/platforms/android-16/arch-x86/
- Changed line 4 in the build_ffmpeg.sh to TOOLCHAIN=$NDK/toolchains/x86_64-4.9/prebuilt/linux-x86_64
- Changed line 23 in the build_ffmpeg.sh to --cross-prefix=$TOOLCHAIN/bin/x86_64-linux-android- \
- I then execute chmod a+x build_ffmpeg.sh
- 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.