How to build with libfreetype?
qoakzmxncb opened this issue · 5 comments
I want to use the drawtext function on iOS, so I added --enable-libfreetype to CONFIGURE_FLAGS. But there is a freetype2 not found error, how can I solve it?
and I have installed freetype by brew, but the error still appears
my Xcode version is 10.1 . and OS X is 10.14
I have download the FFMpeg source code with version 3.0.12,
and use ./configure --enable-libfreetype
make
make install
everything is done.
So what's the problem with build-ffmpeg.sh ? @kewlbear
You need freetype compiles for iOS. What you installed using brew is for macOS.
You need freetype compiles for iOS. What you installed using brew is for macOS.
Yes, I know that.But when I use build-ffmpeg.sh with --enable-libfreetype
, always prompt an error freetype2 not found
I do not know how to fix it...
You should download freetype source and build for iOS. Then edit this script to let configure know where to find freetype headers and library. Then run it.