List Info

Thread: GLFont.c compiliation problem




GLFont.c compiliation problem
user name
2006-12-13 00:30:13

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.c:28: error: parse error before '*' token
source/GLFont.c:29: warning: return type defaults to 'int'
source/GLFont.c: In function 'GLFont_new':
source/GLFont.c:30: error: 'self' undeclared (first use in this function)
source/GLFont.c:30: warning: implicit declaration of function 'calloc'
source/GLFont.c:30: warning: incompatible implicit declaration of built-in function 'calloc'
source/GLFont.c: At top level:
source/GLFont.c:44: error: parse error before '*' token
source/GLFont.c: In function 'GLFont_textureId':
source/GLFont.c:46: error: 'self' undeclared (first use in this function)
source/GLFont.c: At top level:
source/GLFont.c:50: error: parse error before '*' token
source/GLFont.c: In function 'GLFont_free':
source/GLFont.c:53: error: 'self' undeclared (first use in this function)
source/GLFont.c:53: warning: implicit declaration of function 'FT_Done_Face'
source/GLFont.c:54: error: 'NULL' undeclared (first use in this function)
source/GLFont.c:55: warning: implicit declaration of function 'free'
source/GLFont.c: At top level:
source/GLFont.c:58: error: parse error before '*' token
source/GLFont.c: In function 'GLFont_initFontTexture':
source/GLFont.c:61: error: 'self' undeclared (first use in this function)
source/GLFont.c: At top level:
source/GLFont.c:77: error: parse error before '*' token
source/GLFont.c: In function 'GLFont_setupTexture':
source/GLFont.c:92: error: 'self' undeclared (first use in this function)
source/GLFont.c:97: warning: implicit declaration of function 'FT_Load_Char'
source/GLFont.c:97: error: 'FT_LOAD_RENDER' undeclared (first use in this function)
source/GLFont.c: At top level:
source/GLFont.c:167: error: parse error before '*' token
source/GLFont.c: In function 'GLFont_loadFont':
source/GLFont.c:169: error: 'self' undeclared (first use in this function)
source/GLFont.c:170: warning: implicit declaration of function 'FT_New_Face'
source/GLFont.c:170: error: 'path' undeclared (first use in this function)
source/GLFont.c: At top level:
source/GLFont.c:176: error: parse error before '*' token
source/GLFont.c: In function 'GLFont_setPixelSize':
source/GLFont.c:178: error: 'self' undeclared (first use in this function)
source/GLFont.c:178: error: 'size' undeclared (first use in this function)
source/GLFont.c:180: warning: implicit declaration of function 'FT_Set_Pixel_Sizes'
source/GLFont.c: At top level:
source/GLFont.c:194: error: parse error before '*' token
source/GLFont.c: In function 'GLFont_pixelSize':
source/GLFont.c:194: error: 'self' undeclared (first use in this function)
source/GLFont.c: At top level:
source/GLFont.c:195: error: parse error before '*' token
source/GLFont.c: In function 'GLFont_isTextured':
source/GLFont.c:195: error: 'self' undeclared (first use in this function)
source/GLFont.c: At top level:
source/GLFont.c:197: error: parse error before '*' token
source/GLFont.c: In function 'GLFont_stringIndexAtWidth':
source/GLFont.c:199: error: 'string' undeclared (first use in this function)
source/GLFont.c:199: error: 'startIndex' undeclared (first use in this function)
source/GLFont.c:205: error: 'self' undeclared (first use in this function)
source/GLFont.c: At top level:
source/GLFont.c:216: error: parse error before '*' token
source/GLFont.c: In function 'GLFont_lengthOfString':
source/GLFont.c:218: error: 'string' undeclared (first use in this function)
source/GLFont.c:218: error: 'startIndex' undeclared (first use in this function)
source/GLFont.c:222: error: 'endIndex' undeclared (first use in this function)
source/GLFont.c:224: error: 'self' undeclared (first use in this function)
source/GLFont.c: At top level:
source/GLFont.c:231: error: parse error before '*' token
source/GLFont.c: In function 'GLFont_lengthOfCharacter_':
source/GLFont.c:233: error: 'self' undeclared (first use in this function)
source/GLFont.c:233: error: 'c' undeclared (first use in this function)
source/GLFont.c:234: error: 'FT_LOAD_RENDER' undeclared (first use in this function)
source/GLFont.c: At top level:
source/GLFont.c:239: error: parse error before '*' token
source/GLFont.c: In function 'GLFont_fontHeight':
source/GLFont.c:240: error: 'self' undeclared (first use in this function)
source/GLFont.c: At top level:
source/GLFont.c:243: error: parse error before '*' token
source/GLFont.c: In function 'GLFont_drawString':
source/GLFont.c:244: error: 'self' undeclared (first use in this function)
source/GLFont.c:247: error: 'string' undeclared (first use in this function)
source/GLFont.c:247: error: 'startIndex' undeclared (first use in this function)
source/GLFont.c:247: error: 'endIndex' undeclared (first use in this function)
source/GLFont.c: At top level:
source/GLFont.c:253: error: parse error before '*' token
source/GLFont.c: In function 'GLFont_drawTextureString_':
source/GLFont.c:254: error: 'startIndex' undeclared (first use in this function)
source/GLFont.c:259: error: 'self' undeclared (first use in this function)
source/GLFont.c:262: error: 'endIndex' undeclared (first use in this function)
source/GLFont.c:263: error: 'string' undeclared (first use in this function)
source/GLFont.c: At top level:
source/GLFont.c:296: error: parse error before '*' token
source/GLFont.c: In function 'GLFont_drawPixmapString_':
source/GLFont.c:297: error: 'string' undeclared (first use in this function)
source/GLFont.c:308: error: 'self' undeclared (first use in this function)
source/GLFont.c:308: error: 'FT_LOAD_RENDER' undeclared (first use in this function)
source/GLFont.c:320: warning: implicit declaration of function 'memset'
source/GLFont.c:320: warning: incompatible implicit declaration of built-in function
'memset'
source/GLFont.c: At top level:
source/GLFont.c:339: error: parse error before '*' token
source/GLFont.c: In function 'GLFont_error':
source/GLFont.c:341: error: 'self' undeclared (first use in this function)
source/GLFont.c:341: error: 'NULL' undeclared (first use in this function)

__._,_.___
.

__,_._,___
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )