Bug 6200 - compilation: SplashFTFont fails on ft2build.h
Summary: compilation: SplashFTFont fails on ft2build.h
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: splash backend (show other bugs)
Version: unspecified
Hardware: SPARC Solaris
: high normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-10 06:11 UTC by Martin Trautmann
Modified: 2006-03-09 11:22 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Martin Trautmann 2006-03-10 06:11:44 UTC
Verified with 0.5.1 and 0.4.5:

the compilation fails since ft2build.h is not available:
+++

if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I.. -I../poppler -I.. -I../goo -I/usr/local/include/freetype2      -Wall
-Wno-unused -g -O2 -MT Sp
lashFTFont.lo -MD -MP -MF ".deps/SplashFTFont.Tpo" -c -o SplashFTFont.lo
SplashFTFont.cc; \
then mv -f ".deps/SplashFTFont.Tpo" ".deps/SplashFTFont.Plo"; else rm -f
".deps/SplashFTFont.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../poppler -I.. -I../goo
-I/u1/trautman/.bin//include/freetype2 -Wall -Wno-unused -g -O2 -MT
SplashFTFont.lo -MD -MP -MF .deps/SplashFTFont.Tpo -c S
plashFTFont.cc  -fPIC -DPIC -o .libs/SplashFTFont.o
SplashFTFont.cc:20:22: error: ft2build.h: No such file or directory
SplashFTFont.cc:21:10: error: #include expects "FILENAME" or <FILENAME>
SplashFTFont.cc:22:10: error: #include expects "FILENAME" or <FILENAME>
SplashFTFont.cc:23:10: error: #include expects "FILENAME" or <FILENAME>
In file included from SplashFTFont.cc:28:
SplashFTFontEngine.h:17:10: error: #include expects "FILENAME" or <FILENAME>
In file included from SplashFTFont.cc:29:
SplashFTFontFile.h:17:10: error: #include expects "FILENAME" or <FILENAME>
In file included from SplashFTFont.cc:30:
SplashFTFont.h:17:10: error: #include expects "FILENAME" or <FILENAME>
SplashFTFontEngine.h:45: error: 'FT_Library' has not been declared
SplashFTFontEngine.h:48: error: 'FT_Library' does not name a type
SplashFTFontFile.h:55: error: 'FT_Face' has not been declared
...

+++

installed freetype is 2.1.9
Comment 1 Martin Trautmann 2006-03-10 06:22:11 UTC
ft2build.h was not within $INCLUDE/freetype2, but within $INCLUDE directly:

I added this to FREETYPE_CFLAGS within the config.status - I'm not sure whether
freetype was wrong or whether poppler should use the common include/


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.