lvfntman.cpp:56:39: fatal error: freetype2/config/ftheader.h: No such file...
A cross-platform XML/CSS based eBook reader
Brought to you by:
buggins
Trying to build recent git I've got the following error:
/var/tmp/portage/app-text/coolreader3-9999-r2/work/coolreader3-9999/crengine/src/lvfntman.cpp:56:39: fatal error: freetype2/config/ftheader.h: No such file or directory
#include <freetype2/config/ftheader.h>
Issued source file lvfntman.cpp:
55 #ifdef USE_FREETYPE2
56 #include <freetype2/config/ftheader.h>
57 #else
58 #include <freetype/config/ftheader.h>
59 #endif
But my system (with media-libs/freetype-2.6.3-r1 installed) has another path:
# find /usr/include/ -type f -name ftheader.h
/usr/include/freetype2/freetype/config/ftheader.h
Patch to fix this issue.
Last edit: Starikov Sergey 2017-03-05