freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Freetype] Inculding full source (II)


From: David Turner
Subject: Re: [Freetype] Inculding full source (II)
Date: Thu, 22 Feb 2001 12:32:08 +0100

Hello Andreas,

> 
> In $MAIN/src/mag/ I have a class TTFont; the related header file is called
> ttfont.hpp
> Now I try the following in ttfont.hpp :
> 
> #include "../fontengine/include/freetype/freetype.h"
> 
> When I now try to compile a testprogram in $MAIN/test, I get the following
> errors:
> In file included from ../src/mag/ttfont.hpp:15,
>                  from ttftest.cpp:15:
> ../src/mag/../fontengine/include/freetype/freetype.h:26: 
> freetype/config/ftbuild.h: No
> such file or directory
> ../src/mag/../fontengine/include/freetype/freetype.h:46: `#include'
> expects "FILENAME" or <FILENAME>
> ../src/mag/../fontengine/include/freetype/freetype.h:47: `#include'
> expects "FILENAME" or <FILENAME>
> ../src/mag/../fontengine/include/freetype/freetype.h:48: `#include'
> expects "FILENAME" or <FILENAME>
> make: *** [ttftest.o] Error 1
>

Try to -I$MAIN/src/fontengine/include (_not_ ..../include/freetype !!)
and #include <freetype/freetype.h>

Alternatively, if you have a recent build:
-I$MAIN/src/fontengine/include
#include <ft2build.h>

which will be equivalent.. and is now the recommended
way..

Hope this helps..

- David



reply via email to

[Prev in Thread] Current Thread [Next in Thread]