我正在致力於https://github.com/guardianproject/android-ffmpeg項目。 在這個項目中,它使用ffmpeg版本0.11.1。 如何使用最新的ffmpeg版本構建此項目?如何在github上爲android-ffmpeg項目構建最新的ffmpeg
我嘗試刪除此項目中的ffmpeg文件夾。在url中檢出最新的ffmpeg版本:[git://git.videolan.org/ffmpeg.git]。在那之後,我跑命令./configure_make_everything.sh正常的,但我得到的錯誤:
File to patch:
Skip this patch? [y]
Skipping patch.
3 out of 3 hunks ignored
patching file libavutil/arm/intmath.h
Reversed (or previously applied) patch detected! Skipping patch.
3 out of 3 hunks ignored
patching file configure
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored
~/workspace/android-ffmpeg/ffmpeg ~/workspace/android-ffmpeg ~/workspace/android-ffmpeg
**ERROR: freetype2 not found**
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
[email protected] mailing list or IRC#ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solving the problem.
~/workspace/android-ffmpeg ~/workspace/android-ffmpeg
~/workspace/android-ffmpeg
~/workspace/android-ffmpeg ~/workspace/android-ffmpeg
~/workspace/android-ffmpeg/ffmpeg ~/workspace/android-ffmpeg ~/workspace/android-ffmpeg
Makefile:2: config.mak: No such file or directory
Makefile:53: /common.mak: No such file or directory
Makefile:93: /libavutil/Makefile: No such file or directory
Makefile:93: /library.mak: No such file or directory
Makefile:95: /doc/Makefile: No such file or directory
Makefile:178: /tests/Makefile: No such file or directory
make: *** No rule to make target `/tests/Makefile'. Stop.
Makefile:2: config.mak: No such file or directory
Makefile:53: /common.mak: No such file or directory
Makefile:93: /libavutil/Makefile: No such file or directory
Makefile:93: /library.mak: No such file or directory
Makefile:95: /doc/Makefile: No such file or directory
Makefile:178: /tests/Makefile: No such file or directory
make: *** No rule to make target `/tests/Makefile'. Stop.
~/workspace/android-ffmpeg ~/workspace/android-ffmpeg
~/workspace/android-ffmpeg
[email protected]:~/workspace/android-ffmpeg$
我得到了錯誤:對FreeType2沒有找到,但如果我與原來的ffmpeg在此建項目包括,這個錯誤不會發生。
我該如何解決?請幫助
不幸的是,我希望這個修復它,但它已經應用在當前的起源。我也有同樣的問題,因爲ndk 10 –
我也應用在當前的代碼,但它不工作! –