[Top][All Lists]

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

Re: [ft] FTJam build problem (Win32/MinGW)

From: Simon Watson
Subject: Re: [ft] FTJam build problem (Win32/MinGW)
Date: Mon, 22 May 2006 22:05:35 +0100

Thanks for the pointer Brian - I think you're right as manually trying
the following works:

gcc  -c  -DFT2_BUILD_LIBRARY  -Isrc\autofit -Iinclude
-oobjs\autofit.o  src\autofit\autofit.c

I guess my next question is how to get FTJam to include this define
itself. The Jamfile has "DEFINES += FT2_BUILD_LIBRARY ;" in it but it
looks like it's not having the right effect. I've never used Jam
before so if anyone can shed any more light on this then that would be


On 5/22/06, Brian Weed <address@hidden> wrote:
Off the top of my head, it sounds like its missing compiler define
(probably FT2_BUILD_LIBRARY, which will cause the ones you need to be


Simon Watson wrote:
> I'm trying to build Freetype 2.2.1 on Win32 (XP SP2) with MinGW. I
> thought that using Jam would be the easiest way but I'm not getting
> very far.
> I've unzipped, installed jam.exe in my path (from
>, and installed MinGW 3.1.0-1. From the command
> prompt, I've set MINGW to be the correct install path and set
> When I run jam from the freetype-2.2.1 directory I get a mass of
> errors, the first of which are:
> Compiler is GCC with Mingw
> warning: unknown rule Glob
> ...found 411 targets...
> ...updating 39 targets...
> Cc objs\autofit.o
> In file included from src/autofit/afangles.c:20,
>                 from src/autofit/autofit.c:21:
> src/autofit/aftypes.h:42:10: #include expects "FILENAME" or <FILENAME>
> src/autofit/aftypes.h:43:10: #include expects "FILENAME" or <FILENAME>
> In file included from src/autofit/afloader.c:19,
>                 from src/autofit/autofit.c:27:
> src/autofit/afloader.h:32: parse error before "FT_GlyphLoader"
> src/autofit/afloader.h:32: warning: no semicolon at end of struct or
> union
> src/autofit/afloader.h:42: parse error before '}' token
> src/autofit/afloader.h:42: warning: data definition has no type or
> storage class
> So, I'm thinking there's something basic that I've missed but, after
> searching the archives and Googling, I'm none the wiser. It's driving
> me mad so any help/suggestions would be much appreciated!
> Simon.
> _______________________________________________
> Freetype mailing list
> address@hidden

reply via email to

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