[GRASS-dev] iconv a required dependency for using Freetype?
paul-grass at stjohnspoint.co.uk
Sat May 5 09:41:33 EDT 2007
As mentioned in an earlier e-mail, I thought I'd try and see if I can get
Freetype font support working on native Windows. Came across the error
message below in lib/driver. As far as I can see it is because I don't
have iconv installed, but the section of the source is only
conditionalised on HAVE_FT2BUILD_H. I'm wondering if the bits that
reference convert_str (which presumably does translation) could safely be
conditionalised on HAVE_ICONV_H, or does anybody know if the
interdependency between Freetype and iconv goes deeper than that?
sh-2.04$ cd lib/driver
gcc -I/c/grass/grass6/dist.i686-pc-mingw32/include -I/c/grass/extra/include -g -
O2 -I/c/grass/extra/include -DPACKAGE=\""grasslibs"\" -I/c/grass/extra/inc
lude/freetype2 -DPACKAGE=\""grasslibs"\" -I/c/grass/grass6/dist.i686-pc-ming
-o OBJ.i686-pc-mingw32/text3.o -c text3.c
text3.c: In function `convert_str':
text3.c:139: error: `iconv_t' undeclared (first use in this function)
text3.c:139: error: (Each undeclared identifier is reported only once
text3.c:139: error: for each function it appears in.)
text3.c:139: error: syntax error before "cd"
text3.c:157: error: `cd' undeclared (first use in this function)
make: *** [OBJ.i686-pc-mingw32/text3.o] Error 1
More information about the grass-dev