2016-03-21 10 views
0

thisを使用してAndroid用のffmmpegをコンパイルしようとしていますが、以下のように「エラー:freetype2が見つかりません」というメッセージが表示されます。私は、freetypeのがインストールされていて、/ usr /含める/ffmpegをAndroid用にコンパイルする

に以下
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/ 

を示すように、私もそれをリンクし、私は次に何をすべきかわからない

[email protected]:~/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 
[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. 

、あなたが助けてくださいすることができますか?

答えて

0

ARM用にビルドされたfreetype2のバージョンが必要です。/ usr/includeにインストールされているfreetype2は、お使いのPCのアーキテクチャ用に構築されている可能性があります。そのプロジェクトには、ARM用のfreetype2を構築するためのconfigureスクリプトが含まれているようです。このスクリプトを使用してfreetype2をビルドし、代わりにそのバージョンにリンクすると、これはうまくいくはずです。

関連する問題