Compile problem with wmf.c

[email protected] (David N. Welton)
Newsgroups gmane.comp.video.graphicsmagick.core
Message-ID <[email protected]>
Hi, I'm trying to get everything compiled nicely in order to hack on
the TclMagick stuff.

I encountered a problem with coders/wmf.c, though.  On my
Debian/testing system, in order to compile something like this:

#include <libwmf/api.h>
#include <libwmf/gd.h>

int main () {
    printf("hello world\n");
}

It's necessary to add this header first:

#include <ft2build.h>

And also run the compile with -I/usr/include/freetype2

Not sure about how to go about rectifying that, but I thought I'd let
you know.  I'll file a bug if you deem it necessary.

Thankyou,
-- 
David N. Welton
   Consulting: http://www.dedasys.com/
     Personal: http://www.dedasys.com/davidw/
Free Software: http://www.dedasys.com/freesoftware/
   Apache Tcl: http://tcl.apache.org/


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.