On 2014-07-01 00:41-0700 Greg Jung wrote:

Hi Greg:

You posted this question to cm...@cmake.org, but I am answering you on
what I think is a more appropriate mailing list instead since your
question concerns the PLplot build system.

Note, if you don't want to subscribe to plplot-devel, then just reply
to me and I will respond to both you and the list quoting your entire
e-mail as below so that your answers are available there.

More below in context:

> I've been debugging the plplot-5.10.0 build under MSYS and finally found,
> it can all go well only when the "include/freetype2" cflags are manually
> included in the
> build.make files (containing the gcc commands) for plfreetype.c and for
> wingcc.c.
> This build uses freetype 15.0.9,  where include/ft2build.h points to
> <freetype/config/ftheader.h>.
>  Despite its presence in pkgconfig/freetype2.pc cflags line, the actual
> compile command (in build.make) includes "-DUNSINGDLL -I" with nothing
> attached to the -I.
>
> The funny thing, though, is that treatment of the include/freetype2 flag
> is correct
> for pango, cairo, etc., all those more complicated packages come in with
> freetype2 as well where necessary.  I bellieve plfreetype and wingcc are
> the only modules that access
> freetype directly, without using libraries also dependent on freetype..
>
> I've tried adding include/freetype2 directory to C_includes.rsp files and
> to flags.make files,
> that has no effect
>
>  the CMAKECACHE shows the following:
> FREETYPE_INCLUDEDIR:INTERNAL=D:/Mingw/msys/1.0/local/include
> FREETYPE_INCLUDE_DIRS:INTERNAL=D:/Mingw/msys/1.0/local/include/freetype2;D:/Mingw/msys/1.0/local/include
>
> FREETYPE_CFLAGS:INTERNAL=-ID:/Mingw/msys/1.0/local/include/freetype2;-ID:/Mingw/msys/1.0/local/include
> de
>
> _CAIRO_STATIC_CFLAGS:INTERNAL=-mms-bitfields;-ID:/Mingw/msys/1.0/local/include/freetype2;-ID:/Mingw/
> msys/1.0/local/include;-ID:/Mingw/include/cairo;-ID:/Mingw/include/glib-2.0;-ID:/Mingw/lib/glib-2.0/
> include;-ID:/Mingw/include/pixman-1;-ID:/Mingw/include;-ID:/Mingw/include/libpng15
>
> _CAIRO_INCLUDE_DIRS:INTERNAL=D:/Mingw/msys/1.0/local/include/freetype2;D:/Mingw/msys/1.0/local/inclu
> de;D:/Mingw/include/cairo;D:/Mingw/include/glib-2.0;D:/Mingw/lib/glib-2.0/include;D:/Mingw/include/p
> ixman-1;D:/Mingw/include;D:/Mingw/include/libpng15
>
> I have no clue about where to search to resolve this, as I am still on the
> bunny slopes of the CMAKE learning curve.

To start could you please give the exact cmake command you use (I am
especially interested in what the -G option is), the complete output
from that command, the complete resulting CMakeCache.txt file, the
build command you used (e.g., make VERBOSE=1), and the complete
resulting output from the build command?  Note, the VERBOSE=1 option
for the build command is often essential to see exactly what is going
wrong with a build.

Alan

__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to