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.

> 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.

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  [EMAIL PROTECTED]
Boulder, CO 80301              http://www.cora.nwra.com

-------------------------------------------------------------------------
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

Reply via email to