[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ft] MSYS, AF_SCRIPT_LATIN2 undeclared here (not in a function)
From: |
Jack |
Subject: |
[ft] MSYS, AF_SCRIPT_LATIN2 undeclared here (not in a function) |
Date: |
Sun, 14 Jun 2009 22:15:25 +1000 |
Hi,
I'm attempting to compile freetype 2.3.9 under MSYS on
windows XP (MinGW) I'm using scons build system, and I has followed the
instructions in CUSTOMISE file, for a flat filesystem build. I've
copied all the .h and .c files into the single directory, and copied
the include/ directory there two.
The first change I made was to ft2build.h. I added in a #include
for <freetype/internal/internal.h> as it was not being included
automatically.
When it gets to compile aflatin2.c, I receive:
gcc -o aflatin2.c -c -Iinclude aflatin2.c
aflatin2.c:2278: error: 'AF_SCRIPT_LATIN2' undeclared here (not in a function)
aflatin2.c:2278: error: initializer element is not constant
aflatin2.c:2278: error: (near initialization for 'af_latin2_script_class.
script')
I cannot seem to find where AF_SCRIPT_LATIN2 is actually defined in the first place to make sure that is set etc.
Any suggestions would be great.
Thanks,
Jack
- [ft] MSYS, AF_SCRIPT_LATIN2 undeclared here (not in a function),
Jack <=