Re: Compile problem with wmf.c
[email protected] (David N. Welton)
| Newsgroups | gmane.comp.video.graphicsmagick.core |
|---|---|
| Message-ID | <[email protected]> |
Bob Friesenhahn <[email protected]> writes: > > It's necessary to add this header first: > > #include <ft2build.h> > It sounds like you may be using a very old version of libwmf. What > version are you using (I am using 0.2.8)? Does it provide a > "libwmflite" library? @ashland [~] $ libwmf-config --version 0.2.8 As far as having to add that header, I'm getting it from freetype2.h: #ifndef FT_FREETYPE_H #error "`ft2build.h' hasn't been included yet!" #error "Please always use macros to include FreeType header files." #error "Example:" #error " #include <ft2build.h>" #error " #include FT_FREETYPE_H" #endif > Use 'libwmf-config --version' if you are uncertain of the version. > > And also run the compile with -I/usr/include/freetype2 > The configure script should automatically add paths based on what > libwmf-config reports. find . -type f -print0 | xargs -0 -e grep -n -e libwmf-config ./configure:33121: WMF_CONFIG_LIBS=`libwmf-config --libs` ./configure.ac:1899: WMF_CONFIG_LIBS=`libwmf-config --libs` Doesn't look like it's checking for --includes, though. -- 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: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click