[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Devel] wrong headers from freetype-2.1.4rc1
From: |
Martin MOKREJŠ |
Subject: |
Re: [Devel] wrong headers from freetype-2.1.4rc1 |
Date: |
Mon, 8 Dec 2003 15:09:08 +0100 (CET) |
On Mon, 3 Nov 2003, Werner LEMBERG wrote:
Hi,
the trick was to uninstall Freetype1. When installed with Freetype2,
header installs overlap and cause troubles. I think I needed Fretype1 for
some packages, so I installed that into a separate tree and freetype2 into
another and include only one when I need them. That helps. Thanks!
>
> [Sorry for the late reply.]
>
> > the compiler on Tru64Unix 5.1A has problems to compile
> > against freetype2.
>
> > cxx -o nsDeviceContextPS.o -c ... \
> > -I/software/@sys/usr/include \
> > -I/software/@sys/usr/include/freetype2 \
> > ... \
> > nsDeviceContextPS.cpp
> >
> > cxx: Error: /software/@sys/usr/include/freetype2/freetype/ftglyph.h, line
> > 86:
> > identifier "FT_Library" is undefined
> > FT_Library library;
> > ----^
> >
> > [...]
>
> Strange. I don't know why you get this problem. There are the
> following lines in ftglyph.h:
>
> #include <ft2build.h>
> #include FT_FREETYPE_H
>
> The first header file should be found due to the
> `-I/software/@sys/usr/include', if FreeType 2 is installed correctly
> on your system. It loads freetype/config/ftheader.h which should be
> found due to the `-I/software/@sys/usr/include/freetype2' command line
> option. In ftheader.h you can find the macro `FT_FREETYPE_H' which
> defines the name and location of freetype.h, which then contains
> declarations of FT_Library, etc.
>
> In case your compiler doesn't properly handle `#include <macro>'
> (which it should since this is ANSI C) I wonder why I don't see an
> error message. Otherwise I don't understand why FT_Library and
> friends aren't defined properly.
>
>
> Werner
>
--
Martin Mokrejs <address@hidden>
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Devel] wrong headers from freetype-2.1.4rc1,
Martin MOKREJŠ <=