Hi there,
I'm trying to compile the Io-2006-12-07 package and I keep getting the following
problem in the Font addon (on a Powerbook with Mac OS 10.4). Any ideas?
Thanks,
Andrew
--- Font ---
Mkdir addons/Font/_build/headers
running cp source/*.h _build/headers in addons/Font
running cc -Os -g -Wall -DSANE_POPEN -DIOBINDINGS -I../../libs/basekit/_build/
headers -I../../libs/coroutine/_build/headers -I../../libs/garbagecollector/_build/headers
-I../../libs/iovm/_build/headers -I../../libs/skipdb/_build/headers -I/usr/local/include -I/
usr/include -I/usr/X11R6/include -I/opt/local/include -I/sw/include -I/Library/
Frameworks/GMP.framework/Headers -I/usr/X11R6/include/freetype2 -I/opt/local/
include/freetype2 -I/usr/include/libxml2 -I/sw/include/libxml2 -I/System/Library/
Frameworks/Python.framework/Headers -I/sw/include/python2.4 -I. -fPIC -c -o _build/
objs/GLFont.o source/GLFont.c in addons/Font
In file included from source/GLFont.c:3:
source/GLFont.h:39: error: parse error before 'FT_Face'
source/GLFont.h:39: warning: no semicolon at end of struct or union
source/GLFont.h:43: warning: 'struct GLFont_' declared inside parameter list
source/GLFont.h:43: warning: its scope is only this definition or declaration, which is
probably not what you want
source/GLFont.h:50: error: parse error before 'errorCode'
source/GLFont.h:50: warning: type defaults to 'int' in declaration of 'errorCode'
source/GLFont.h:50: warning: data definition has no type or storage class
source/GLFont.h:51: warning: type defaults to 'int' in declaration of 'GLFont'
source/GLFont.h:51: warning: data definition has no type or storage class
source/GLFont.h:60: error: parse error before '*' token
source/GLFont.h:60: warning: type defaults to 'int' in declaration of 'GLFont_new'
source/GLFont.h:60: warning: data definition has no type or storage class
source/GLFont.h:63: error: parse error before '*' token
source/GLFont.h:66: error: parse error before '*' token
source/GLFont.h:69: error: parse error before '*' token
source/GLFont.h:70: error: parse error before '*' token
source/GLFont.h:71: error: parse error before '*' token
source/GLFont.h:74: error: parse error before '*' token
source/GLFont.h:75: error: parse error before '*' token
source/GLFont.h:76: error: parse error before '*' token
source/GLFont.h:79: error: parse error before '*' token
source/GLFont.h:82: error: parse error before '*' token
source/GLFont.h:84: error: parse error before '*' token
source/GLFont.c:6: error: parse error before 'gFreeTypeLib'
source/GLFont.c:6: warning: type defaults to 'int' in declaration of 'gFreeTypeLib'
source/GLFont.c:6: warning: data definition has no type or storage class
source/GLFont.c:8: error: parse error before '*' token
source/GLFont.c:9: error: parse error before '*' token
source/GLFont.c:10: error: parse error before '*' token
source/GLFont.c:11: error: parse error before '*' token
source/GLFont.c: In function 'GLFont_init':
source/GLFont.c:17: error: 'FT_Error' undeclared (first use in this function)
source/GLFont.c:17: error: (Each undeclared identifier is reported only once
source/GLFont.c:17: error: for each function it appears in.)
source/GLFont.c:17: error: parse error before 'error'
source/GLFont.c:18: error: 'error' undeclared (first use in this function)
source/GLFont.c:18: warning: implicit declaration of function 'puts'
source/GLFont.c: In function 'GLFont_done':
source/GLFont.c:24: warning: implicit declaration of function 'FT_Done_FreeType'
source/GLFont.c:25: error: 'NULL' undeclared (first use in this function)
source/GLFont.c: At top level:
source/GLFont