|
From: Tatsuro M. <tma...@ya...> - 2008-12-16 10:49:41
|
Hello I have been struggling to build gd libraries for these days. Today I have succeeded to build gd-2.0.36RC1 static library and get rid of the problem of mingw-gcc-4.3.0 building. No modification has not been required for gd.trm. However it is required to add '-lfontcongfig -liconv' to linker flag in makefile.mgw. (This is required regardless gcc version.) Where is the suitable place to add the flags: '-lfontconfig -liconv' ? Temporary I modified ifdef FREETYPE CFLAGS += -DHAVE_GD_TTF TERMLIBS += -lfreetype endif | V ifdef FREETYPE CFLAGS += -DHAVE_GD_TTF TERMLIBS += -lfreetype -lfontconfig -liconv endif But it seem not so good to do it. Any suggestions? Regards Tatsuro --- Tatsuro MATSUOKA <tma...@ya...> wrote: > Hello > > --- Pierre Joye <pie...@gm...> wrote: > > > > Without having tested it recently under mingw, I would suggest to > > first use a more recent version (.35 or .36-cvs). > > > > Cheers, > > -- > > Pierre > > I will try and report you and gnuplot-beta/ML. > However, I have caught a cold so that the trial will be delayed. > > Thank for Ethan and Pierre for kind treatments of the matter. > > BTW > > //#if !defined(GD_NEED_LOCAL_FONT_POINTERS) > BGD_EXPORT_DATA_PROT gdFontPtr gdFontSmall; /* 6x12 */ > BGD_EXPORT_DATA_PROT gdFontPtr gdFontLarge; /* 8x16 */ > BGD_EXPORT_DATA_PROT gdFontPtr gdFontMediumBold; /* 7x13 */ > BGD_EXPORT_DATA_PROT gdFontPtr gdFontGiant; /* 9x15 */ > BGD_EXPORT_DATA_PROT gdFontPtr gdFontTiny; /* 5x8 */ > //#else > //static gdFontPtr gdFontSmall; /* 6x12 */ > //static gdFontPtr gdFontLarge; /* 8x16 */ > //static gdFontPtr gdFontMediumBold; /* 7x13 */ > //static gdFontPtr gdFontGiant; /* 9x15 */ > //static gdFontPtr gdFontTiny; /* 5x8 */ > //#endif > > Quick and dirty modification the above seemed to work well yesterday for gcc-4.3.0 (mingw) > building. > > ********************************************** > gnuplot> set term png small > Terminal type set to 'png' > Options are 'nocrop font arial 10 size 640,480 ' > gnuplot> set term png medium > Terminal type set to 'png' > Options are 'nocrop font arial 12 size 640,480 ' > gnuplot> set term png large > Terminal type set to 'png' > Options are 'nocrop font arial 14 size 640,480 ' > *********************************************** > The above are the same as those by wgnuplot.exe build by Petr (gp43-Nov21_2008-winbin.zip) > > However, the above modification of course is permitted only for personal purpose. > > Anyway first I have to do is to get rid of the cold. :-) > > Regards > > Tatsuro > > -------------------------------------- > Power up the Internet with Yahoo! Toolbar. > http://pr.mail.yahoo.co.jp/toolbar/ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > -------------------------------------- Power up the Internet with Yahoo! Toolbar. http://pr.mail.yahoo.co.jp/toolbar/ |