On Mon, Aug 06, 2007 at 10:17:38AM -0600, Orion Poplawski wrote: > Andrew Ross wrote: > > Orion, > > > > -I${FREETYPE_INCLUDE_DIR} is not explicitly included in the driver's > > includes. Each driver is supposed to set the xxx_COMPILE_FLAGS in the > > driver cmake module cmake/modules/xxx. For the case of gcw this is > > done in cmake/modules/gcw.cmake using pkg-config. Can you confirm what > > output you get from the command > > pkg-config libgnomeprintui-2.2 --cflags > > For my linux (Debian and Ubuntu) systems this includes > > -I/usr/include/freetype2 as required. It is possible that this is not > > always the case? > > > > # pkg-config libgnomeprintui-2.2 --cflags > -I/usr/include/libgnomeprintui-2.2 -I/usr/include/libgnomeprint-2.2 > -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 > -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include > -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gtk-2.0 > -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo > > It appears that no public interface for libgnomeprinttui22 references a > ft2 header, so this is as it should be. If plfreetype.h references > ft2build.h directly, then any driver that uses plfreetype.h should use > pkg-config freetype2 directly.
I've committed a svn change to explicitly add in the freetype include flags / libraries for the gcw driver. Can you test this? It doesn't break anything for me. > > > Which other drivers fail (try disabling gcw and see how far you get)? > > psttf also uses pkg-config, while gd explicitly includes the required > > directories. > > No others appear to fail. It appears the other drivers handle the freetype libraries correctly - that's good. Andrew ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel