I cannot compile Inkscape on Slackware 9.1. This is the error message:
In file included from /usr/include/pango-1.0/pango/pangoft2.h:26, from libnrtype/FontFactory.h:24, from sp-text.cpp:35: /usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!" /usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files." /usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:" /usr/include/freetype2/freetype/freetype.h:23:2: #error " #include <ft2build.h>" /usr/include/freetype2/freetype/freetype.h:24:2: #error " #include FT_FREETYPE_H" sp-text.cpp: In function `void sp_string_set_shape(SPString*, SPLayoutData*, NR::Point&, gboolean*)': sp-text.cpp:956: warning: unused variable `NR::Point pt' make[2]: *** [sp-text.o] Error 1 make[2]: Leaving directory `/home/mellor/AA/AA-2/inkscape-0.39/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/mellor/AA/AA-2/inkscape-0.39' make: *** [all] Error 2 mellor@...189...:~/AA/AA-2/inkscape-0.39$
I have freetype-2.1.8 installed. The error sounds quite explanatory but not sufficiently so for my lack of experience. Can anyone help please?
On Tue, 2004-07-20 at 10:18, John Mellor wrote:
I have freetype-2.1.8 installed. The error sounds quite explanatory but not sufficiently so for my lack of experience. Can anyone help please?
Specific versions of freetype seem to have different requirements for which header files to include. :/
-mental
Well, thanks for that, but does anyone know how to fix it? Am I the only one with this problem, and if so why? I uninstalled my freetype2 and installed the latest - 2.1.9 - from source and the error is the same. Do I need an older freetype2 or what?
John
On 21/7/2004, "MenTaLguY" <mental@...32...> wrote:
On Tue, 2004-07-20 at 10:18, John Mellor wrote:
I have freetype-2.1.8 installed. The error sounds quite explanatory but not sufficiently so for my lack of experience. Can anyone help please?
Specific versions of freetype seem to have different requirements for which header files to include. :/
-mental
On Tue, 2004-07-27 at 07:21, John Mellor wrote:
Well, thanks for that, but does anyone know how to fix it? Am I the only one with this problem, and if so why? I uninstalled my freetype2 and installed the latest - 2.1.9 - from source and the error is the same.
Do I need an older freetype2 or what?
For now, probably. I'm using version 2.1.5.
IIRC, the fix, basically, is to include <ft2build.h> before any other freetype headers ... however, I am not sure whether that will break the build with older freetype versions. :/
-mental
participants (2)
-
John Mellor
-
MenTaLguY