[GRASSLIST:3439] Re: new 53 osx compile

Kirk R. Wythers kwythers at umn.edu
Mon May 17 23:31:07 EDT 2004


Thanks for the tip... I think... It looks like a mess:

barbaloot:~/grass5_dev/grass53_exp_2004_05_15/src/display/ 
d.text.freetype kirkw$ ../../../bin.powerpc-apple-darwin7.3.0/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.powerpc-apple-darwin7.3.0
   ARCH    = powerpc-apple-darwin7.3.0
   GISBASE =  
/Users/kirkw/grass5_dev/grass53_exp_2004_05_15/dist.powerpc-apple- 
darwin7.3.0
   VERSION = 5.3-cvs 2004
#################################################################
/Users/kirkw/grass5_dev/grass53_exp_2004_05_15/src/display/ 
d.text.freetype
   make -f OBJ.powerpc-apple-darwin7.3.0/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   -c main.c -o OBJ.powerpc-apple-darwin7.3.0/main.o
main.c:78: error: parse error before "library"
main.c:79: error: parse error before "face"
main.c:81: error: parse error before "face"
main.c:83: error: parse error before '*' token
main.c:84: error: parse error before "FT_Face"
main.c:86: error: parse error before "FT_Face"
main.c: In function `main':
main.c:122: error: `FT_Library' undeclared (first use in this function)
main.c:122: error: (Each undeclared identifier is reported only once
main.c:122: error: for each function it appears in.)
main.c:122: error: parse error before "library"
main.c:123: error: `FT_Face' undeclared (first use in this function)
main.c:124: error: `FT_Vector' undeclared (first use in this function)
main.c:311: error: `face' undeclared (first use in this function)
main.c:311: error: `library' undeclared (first use in this function)
main.c:359: error: `pen' undeclared (first use in this function)
main.c: In function `convert_text':
main.c:740: warning: passing arg 3 of `libiconv' from incompatible  
pointer type
main.c:740: warning: passing arg 5 of `libiconv' from incompatible  
pointer type
main.c: At top level:
main.c:848: error: parse error before "library"
main.c: In function `set_font':
main.c:850: error: `face' undeclared (first use in this function)
main.c:852: error: `library' undeclared (first use in this function)
main.c:852: error: `path' undeclared (first use in this function)
main.c: At top level:
main.c:859: error: parse error before "face"
main.c: In function `get_dimension':
main.c:862: error: `FT_Matrix' undeclared (first use in this function)
main.c:862: error: parse error before "matrix"
main.c:863: error: `FT_Vector' undeclared (first use in this function)
main.c:865: error: `matrix' undeclared (first use in this function)
main.c:867: error: `pen' undeclared (first use in this function)
main.c:870: error: `l' undeclared (first use in this function)
main.c:872: error: `out' undeclared (first use in this function)
main.c:874: error: `face' undeclared (first use in this function)
main.c:878: error: `FT_LOAD_DEFAULT' undeclared (first use in this  
function)
main.c:880: error: `ft_render_mode_mono' undeclared (first use in this  
function)
main.c:911: error: `dim' undeclared (first use in this function)
main.c: At top level:
main.c:918: error: parse error before "face"
main.c: In function `get_ll_coordinates':
main.c:921: error: `FT_Vector' undeclared (first use in this function)
main.c:921: error: parse error before "dim"
main.c:923: error: `align' undeclared (first use in this function)
main.c:925: error: `face' undeclared (first use in this function)
main.c:925: error: `out' undeclared (first use in this function)
main.c:925: error: `l' undeclared (first use in this function)
main.c:925: error: `dim' undeclared (first use in this function)
main.c:932: error: `pen' undeclared (first use in this function)
main.c:932: error: `rotation' undeclared (first use in this function)
main.c: At top level:
main.c:963: error: parse error before '*' token
main.c: In function `set_matrix':
main.c:965: error: `matrix' undeclared (first use in this function)
main.c:965: error: `FT_Fixed' undeclared (first use in this function)
main.c:965: error: `rotation' undeclared (first use in this function)
main.c: At top level:
main.c:974: error: parse error before "FT_Face"
main.c: In function `draw_character':
main.c:981: error: `face' undeclared (first use in this function)
main.c:981: error: `matrix' undeclared (first use in this function)
main.c:981: error: `pen' undeclared (first use in this function)
main.c:983: error: `ch' undeclared (first use in this function)
main.c:985: error: `FT_LOAD_DEFAULT' undeclared (first use in this  
function)
main.c:987: error: `ft_render_mode_mono' undeclared (first use in this  
function)
main.c:999: error: `win' undeclared (first use in this function)
main.c:1013: error: `color' undeclared (first use in this function)
main.c: At top level:
main.c:1072: error: parse error before "FT_Face"
main.c: In function `draw_text':
main.c:1076: error: `FT_Matrix' undeclared (first use in this function)
main.c:1076: error: parse error before "matrix"
main.c:1078: error: `matrix' undeclared (first use in this function)
main.c:1078: error: `rotation' undeclared (first use in this function)
main.c:1080: error: `l' undeclared (first use in this function)
main.c:1082: error: `out' undeclared (first use in this function)
main.c:1083: error: `win' undeclared (first use in this function)
main.c:1083: error: `face' undeclared (first use in this function)
main.c:1083: error: `pen' undeclared (first use in this function)
main.c:1083: error: `color' undeclared (first use in this function)
make: *** [OBJ.powerpc-apple-darwin7.3.0/main.o] Error 1
barbaloot:~/grass5_dev/grass53_exp_2004_05_15/src/display/ 
d.text.freetype kirkw$

On May 17, 2004, at 10:15 PM, Hamish wrote:

>> Just to be though, has anyone else had trouble getting the module
>> d.text.freetype to compile. I updated grass53 today and am getting
>> the:
>>
>>   "GRASS GIS source code compiled.
>>
>> Compilation error in module: src/display/d.text.freetype (ignored)"
>> error. The configlog look fine.
>
>
> cd src/display/d.text.freetype
> ../../../bin.[system type]/gmake53
>
> to see what the specific error is.
>
>
> Probably a HAVE_ICONV or #include <ft2build.h> error..?
>
>
> see  http://article.gmane.org/gmane.comp.gis.grass.devel/3667
>
>
> what platform?
>
>
>
> Hamish
>
------------------------------------------------------------------------
Kirk R. Wythers	                                    tel: 612.625.2261
Dept. of Forest Resources                fax: 612.625.5212
University of Minnesota     email: kwythers at umn.edu
------------------------------------------------------------------------




More information about the grass-user mailing list