[FFmpeg-devel] freetype2 2.5.1 configure incompatibility
Gianluigi Tiesi
mplayer at netfarm.it
Tue Nov 26 01:36:34 CET 2013
Hi,
Since freetype 2.5.1 they changed headers hierarchy:
Applications that use (a) `freetype-config' or FreeType's
`pkg-config' file to get the include directory for the compiler, and
(b) the documented way for header inclusion like
#include <ft2build.h>
#include FT_FREETYPE_H
...
don't need any change to the source code.
unfortunately ffmpeg configure script doesn't provide
a way to pass an include without <> and the check always fail
looks like the only one file needs freetype is:
libavfilter/vf_drawtext.c
#include <ft2build.h>
#include <freetype/config/ftheader.h>
#include FT_FREETYPE_H
#include FT_GLYPH_H
inclusion of freetype/config/ftheader.h is not needed (it's in ft2build.h)
I suppose it would build fine then, but configure script need to be adapted.
Any idea about a possible solution?
Regards
--
Gianluigi Tiesi <sherpya at netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/
More information about the ffmpeg-devel
mailing list