[GRASSLIST:4510] freetype compile error

Kirk R. Wythers kwythers at umn.edu
Tue Oct 12 14:14:48 EDT 2004


I'm looking at the following compile error in d.text.freetype. Any  
thoughts?


barbaloot:~/grass5_dev/grass53_exp_2004_05_15/src/display/ 
d.text.freetype kirkw$ gmake53
   SRC     = /Users/kirkw/grass5_dev/grass53_exp_2004_05_15/src
   CMD     = /Users/kirkw/grass5_dev/grass53_exp_2004_05_15/src/CMD
   UNUSED  = /Users/kirkw/grass5_dev/grass53_exp_2004_05_15/unused
   HEADER  = head.unknown
   ARCH    = unknown
   GISBASE = /Users/kirkw/grass5_dev/grass53_exp_2004_05_15/dist.unknown
   VERSION = 5.3-cvs 2004
#################################################################
/Users/kirkw/grass5_dev/grass53_exp_2004_05_15/src/display/ 
d.text.freetype
   make -f OBJ.unknown/make.rules

gcc -I/Users/kirkw/grass5_dev/grass53_exp_2004_05_15/src/include  
-I/usr/X11R6/include -I/sw/include -g -O2   -I/usr/X11R6/include  
-I/sw/include -I/usr/X11R6/include/freetype2  -c main.c -o  
OBJ.unknown/main.o
main.c:79: error: parse error before "library"
main.c:80: error: parse error before "face"
main.c:82: error: parse error before "face"
main.c:84: error: parse error before '*' token
main.c:85: error: parse error before "FT_Face"
main.c:87: error: parse error before "FT_Face"
main.c: In function `main':
main.c:123: error: `FT_Library' undeclared (first use in this function)
main.c:123: error: (Each undeclared identifier is reported only once
main.c:123: error: for each function it appears in.)
main.c:123: error: parse error before "library"
main.c:124: error: `FT_Face' undeclared (first use in this function)
main.c:125: error: `FT_Vector' undeclared (first use in this function)
main.c:313: error: `face' undeclared (first use in this function)
main.c:313: error: `library' undeclared (first use in this function)
main.c:361: error: `pen' undeclared (first use in this function)
main.c: In function `convert_text':
main.c:742: warning: passing arg 3 of `libiconv' from incompatible  
pointer type
main.c:742: warning: passing arg 5 of `libiconv' from incompatible  
pointer type
main.c: At top level:
main.c:850: error: parse error before "library"
main.c: In function `set_font':
main.c:852: error: `face' undeclared (first use in this function)
main.c:854: error: `library' undeclared (first use in this function)
main.c:854: error: `path' undeclared (first use in this function)
main.c: At top level:
main.c:861: error: parse error before "face"
main.c: In function `get_dimension':
main.c:864: error: `FT_Matrix' undeclared (first use in this function)
main.c:864: error: parse error before "matrix"
main.c:865: error: `FT_Vector' undeclared (first use in this function)
main.c:867: error: `matrix' undeclared (first use in this function)
main.c:869: error: `pen' undeclared (first use in this function)
main.c:872: error: `l' undeclared (first use in this function)
main.c:874: error: `out' undeclared (first use in this function)
main.c:876: error: `face' undeclared (first use in this function)
main.c:880: error: `FT_LOAD_DEFAULT' undeclared (first use in this  
function)
main.c:882: error: `ft_render_mode_mono' undeclared (first use in this  
function)
main.c:913: error: `dim' undeclared (first use in this function)
main.c: At top level:
main.c:920: error: parse error before "face"
main.c: In function `get_ll_coordinates':
main.c:923: error: `FT_Vector' undeclared (first use in this function)
main.c:923: error: parse error before "dim"
main.c:925: error: `align' undeclared (first use in this function)
main.c:927: error: `face' undeclared (first use in this function)
main.c:927: error: `out' undeclared (first use in this function)
main.c:927: error: `l' undeclared (first use in this function)
main.c:927: error: `dim' undeclared (first use in this function)
main.c:934: error: `pen' undeclared (first use in this function)
main.c:934: error: `rotation' undeclared (first use in this function)
main.c: At top level:
main.c:965: error: parse error before '*' token
main.c: In function `set_matrix':
main.c:967: error: `matrix' undeclared (first use in this function)
main.c:967: error: `FT_Fixed' undeclared (first use in this function)
main.c:967: error: `rotation' undeclared (first use in this function)
main.c: At top level:
main.c:976: error: parse error before "FT_Face"
main.c: In function `draw_character':
main.c:983: error: `face' undeclared (first use in this function)
main.c:983: error: `matrix' undeclared (first use in this function)
main.c:983: error: `pen' undeclared (first use in this function)
main.c:985: error: `ch' undeclared (first use in this function)
main.c:987: error: `FT_LOAD_DEFAULT' undeclared (first use in this  
function)
main.c:989: error: `ft_render_mode_mono' undeclared (first use in this  
function)
main.c:1001: error: `win' undeclared (first use in this function)
main.c:1015: error: `color' undeclared (first use in this function)
main.c: At top level:
main.c:1074: error: parse error before "FT_Face"
main.c: In function `draw_text':
main.c:1078: error: `FT_Matrix' undeclared (first use in this function)
main.c:1078: error: parse error before "matrix"
main.c:1080: error: `matrix' undeclared (first use in this function)
main.c:1080: error: `rotation' undeclared (first use in this function)
main.c:1082: error: `l' undeclared (first use in this function)
main.c:1084: error: `out' undeclared (first use in this function)
main.c:1085: error: `win' undeclared (first use in this function)
main.c:1085: error: `face' undeclared (first use in this function)
main.c:1085: error: `pen' undeclared (first use in this function)
main.c:1085: error: `color' undeclared (first use in this function)
make: *** [OBJ.unknown/main.o] Error 1
barbaloot:~/grass5_dev/grass53_exp_2004_05_15/src/display/ 
d.text.freetype kirkw$



Kirk R. Wythers	
Dept. of Forest Resources
University of Minnesota
email: kwythers at umn.edu
tel: 612.625.2261
fax: 612.625.5212




More information about the grass-user mailing list