You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Follow the installation and add --enable-libfreetype.
I use --extra-cflags and --extra-ldflags to assign the path of libfreetype binary.
But meet the error ERROR: freetype2 not found using pkg-config and it try to use pkg-config to find freetype2 .pc file
You have to create your own .pc file and use the dll version import library.
You can't use the static version of the library with MinGW or you will have to compile a static MinGW library yourself from the freetype sources.
I use freetype-windows-binaries and build ffmpeg with --extra-cflags="-I../freetype-windows-binaries-2.11.1/include" and --extra-ldflags="-LIBPATH:../freetype-windows-binaries-2.11.1/win64"
So, the method is mistake ?
Follow the installation and add
--enable-libfreetype
.I use
--extra-cflags
and--extra-ldflags
to assign the path of libfreetype binary.But meet the error
ERROR: freetype2 not found using pkg-config
and it try to use pkg-config to find freetype2 .pc fileThe text was updated successfully, but these errors were encountered: