Re: [SLE] WMF-Thumbnail-Plugin

From: Anders Johansson (andjoh_at_rydsbo.net)
Date: 03/24/04

  • Next message: David Herman: "Re: [SLE] WMF-Thumbnail-Plugin"
    To: suse-linux-e@suse.com
    Date: Wed, 24 Mar 2004 04:52:43 +0100
    
    

    On Tuesday 23 March 2004 23:18, David Herman wrote:
    > I've had no luck compiling WMF-Thumbnail-Plugin for Konqueror from
    > http://kde-apps.org/content/download.php?content=11404&id=1
    >
    > The error reported when running make follows:
    >
    > In file included from /usr/include/libwmf/types.h:26,
    > from /usr/include/libwmf/api.h:25,
    > from wmfthumbcreator.h:24,
    > from wmfthumbnail.cpp:21:
    > /usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h'
    > hasn't been included yet!"
    > /usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always
    > use macros to include FreeType header files."
    > /usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
    > /usr/include/freetype2/freetype/freetype.h:23:2: #error " #include
    > <ft2build.h>"
    > /usr/include/freetype2/freetype/freetype.h:24:2: #error " #include
    > FT_FREETYPE_H"
    >
    > Apparently this is describing problems w/ freetype (a problem I've run
    > into trying to compile programs in the past as well, most recently with
    > GraphicsMagick). I'd appreciate pointers as to how to get this plugin
    > installed, (and get freetype found when compiling in general) it would
    > sure make those .wmf files littering one of my partitions allot more
    > useful.

    Just do what the error says. Edit /usr/include/libwmf/types.h, find the
    #include <freetype.h> and change it to

    #include <ft2build.h>
    #include FT_FREETYPE_H

    All apps that uses freetype will need a similar adjustment because of the
    changes made to freetype

    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: David Herman: "Re: [SLE] WMF-Thumbnail-Plugin"