Hi David, thanks for the suggestion - I hadn't realised there was a
later version of ftjam. Based on Brian's tip, I added "#define
FT2_BUILD_LIBRARY" to ft2build.h and ftjam then built ok. Why it
wasn't picking up the DEFINES statement in the Jamfile I'm not quite
sure. I'll try FTJam 2.5.1 and see what happens.

Thanks again.

Simon.

On 5/22/06, David Turner <[EMAIL PROTECTED]> wrote:
Hello Simon,

try using Jam 2.5, or even FTJam 2.5.1 or later. Link:

http://turnerdavid.neuf.fr/jam/ftjam-2.5.2.tar.bz2

hope this helps,

- David Turner
- The FreeType Project  (www.freetype.org)

Simon Watson a écrit :
> 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 ft221.zip, installed jam.exe in my path (from
> ftjam-2.3.5-win32.zip), and installed MinGW 3.1.0-1. From the command
> prompt, I've set MINGW to be the correct install path and set
> JAM_TOOLSET=MINGW.
>
> 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
> [email protected]
> http://lists.nongnu.org/mailman/listinfo/freetype




_______________________________________________
Freetype mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to