首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >适用于Android的ffmpeg编译

适用于Android的ffmpeg编译
EN

Stack Overflow用户
提问于 2016-03-22 01:14:50
回答 1查看 448关注 0票数 0

我正在尝试使用this为安卓系统编译freetype2,但是我得到了“ERROR: ffmmpeg found”,如下面详细所示。

代码语言:javascript
复制
linux@user1:~/Downloads/android-ffmpeg$ ./configure_ffmpeg.sh
~/Downloads/android-ffmpeg ~/Downloads/android-ffmpeg
No NDK_BASE set, using /opt/android-ndk
patching file ffmpeg/libavfilter/Makefile
Reversed (or previously applied) patch detected!  Skipping patch.
2 out of 2 hunks ignored
The next patch would create the file ffmpeg/libavfilter/af_aredact.c,
which already exists!  Skipping patch.
1 out of 1 hunk ignored
patching file ffmpeg/libavfilter/allfilters.c
Reversed (or previously applied) patch detected!  Skipping patch.
2 out of 2 hunks ignored
The next patch would create the file ffmpeg/libavfilter/vf_redact.c,
which already exists!  Skipping patch.
1 out of 1 hunk ignored
patching file ffmpeg/libavutil/arm/intmath.h
Reversed (or previously applied) patch detected!  Skipping patch.
2 out of 2 hunks ignored
patching file libavcodec/arm/ac3dsp_armv6.S
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored
patching file libavcodec/arm/fft_fixed_neon.S
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored
patching file libavcodec/arm/fft_neon.S
Reversed (or previously applied) patch detected!  Skipping patch.
2 out of 2 hunks ignored
patching file libavcodec/arm/sbrdsp_neon.S
Reversed (or previously applied) patch detected!  Skipping patch.
2 out of 2 hunks ignored
patching file libavcodec/arm/vp3dsp_neon.S
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored
patching file libavcodec/arm/vp8_armv6.S
Reversed (or previously applied) patch detected!  Skipping patch.
2 out of 2 hunks ignored
patching file libavcodec/arm/asm.S
Reversed (or previously applied) patch detected!  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
~/Downloads/android-ffmpeg/ffmpeg ~/Downloads/android-ffmpeg ~/Downloads/android-ffmpeg
*****************The error is here*****************

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
ffmpeg-user@ffmpeg.org 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.

我已经安装了freetype,并且还链接了它,如下所示: /usr/include/

代码语言:javascript
复制
rwxr-xr-x  3 root root   4096 Mar 20 22:13 freetype2
lrwxrwxrwx  1 root root     23 Mar 20 22:14 freetype -> /usr/include/freetype2/

我不知道下一步该做什么,你能帮帮忙吗?

EN

回答 1

Stack Overflow用户

发布于 2016-03-22 02:05:10

您需要一个为ARM构建的freetype2版本,而且安装在/usr/include下的freetype2很可能是为您的PC架构构建的。看起来该项目包含了一个为ARM构建freetype2的配置脚本。如果您使用该脚本构建freetype2并链接到该版本,这应该会起作用。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/36137590

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档