mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] FreeType and HarfBuzz


From: beuc
Subject: Re: [Mingw-cross-env-list] FreeType and HarfBuzz
Date: Wed, 18 Jun 2014 22:40:43 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

Hi,

On Tue, Jun 17, 2014 at 12:41:46PM +0200, Werner LEMBERG wrote:
> > See here:
> > 
> > https://github.com/mxe/mxe/commit/d53a3a434846f2b5d97567dd07cc804da3b4e291
> > 
> > for a bootstrap version that plays nicely with make and downstream
> > dependents.
> 
> Nice!  The only important thing is to make packages that use
> FreeType's auto-hinter dependent on `freetype', and not
> `freetype-bootstrap'.  Perhaps this should be mentioned somewhere.

Apparently there's still something circular at link time:

i686-w64-mingw32.static-gcc  -g -O2 -Wall -std=c99 
-I/usr/src/mxe/usr/i686-w64-mingw32.static/include/SDL2 -Dmain=SDL_main 
-I/usr/src/mxe/usr/i686-w64-mingw32.static/include/harfbuzz 
-I/usr/src/mxe/usr/i686-w64-mingw32.static/include/cairo 
-I/usr/src/mxe/usr/i686-w64-mingw32.static/include/pixman-1 
-I/usr/src/mxe/usr/i686-w64-mingw32.static/include/freetype2  
-I/usr/src/mxe/usr/i686-w64-mingw32.static/include/libpng16 
-I/usr/src/mxe/usr/i686-w64-mingw32.static/include/glib-2.0 
-I/usr/src/mxe/usr/i686-w64-mingw32.static/lib/glib-2.0/include -mms-bitfields 
-DPCRE_STATIC   -I/usr/src/mxe/usr/i686-w64-mingw32.static/lib/libzip/include   
 `: /usr/local/bin` -static -o freedink.exe app.o bgm.o dinkini.o dinkc.o 
dinkc_bindings.o dinkc_console.o dinkc_sp_custom.o dinkvar.o fastfile.o 
game_engine.o str_util.o io_util.o sfx.o gfx.o gfx_fade.o gfx_tiles.o 
gfx_palette.o gfx_fonts.o rect.o input.o binreloc.o freedink_xpm.o paths.o 
log.o gfx_sprites.o vgasys_fon.o msgbox.o i18n.o meminfo.o screen.o  
SDL_rwops_libzip.o freedink.o update_frame.o woeres.o ../gnulib/lib/libgnu.a 
-lintl -liconv -lzip -lz   -lSDL2_gfx -lSDL2_image -ltiff -lSDL2_mixer 
-lvorbisfile -lvorbis -logg -lSDL2_ttf -lharfbuzz -lcairo -lgobject-2.0 
-lfontconfig -lglib-2.0 -llzma -ljpeg -lmodplug -lstdc++ -lmingw32 -lSDL2main 
-lSDL2 -mwindows -Wl,--no-undefined -lm -ldinput8 -ldxguid -ldxerr8 -luser32 
-limm32 -loleaut32 -lshell32 -lversion -luuid -static-libgcc -lusp10 -lmsimg32 
-lgdi32 -lpixman-1 -lffi -lexpat -lfreetype -lbz2 -lpng16 -lz -lws2_32 -lole32 
-lwinmm -lshlwapi -lpcre  -lintl -liconv    -lm
mv -f .deps/dinkc_bindings.Tpo .deps/dinkc_bindings.Po
/usr/src/mxe/usr/lib/gcc/i686-w64-mingw32.static/4.9.0/../../../../i686-w64-mingw32.static/lib/../lib/libfreetype.a(autofit.o):
 In function `af_face_globals_free':
/usr/src/mxe/tmp-freetype-i686-w64-mingw32.static/freetype-2.5.3/src/autofit/afglobal.c:371:
 undefined reference to `hb_font_destroy'
/usr/src/mxe/usr/lib/gcc/i686-w64-mingw32.static/4.9.0/../../../../i686-w64-mingw32.static/lib/../lib/libfreetype.a(autofit.o):
 In function `af_get_char_index':
/usr/src/mxe/tmp-freetype-i686-w64-mingw32.static/freetype-2.5.3/src/autofit/hbshim.c:433:
 undefined reference to `hb_buffer_create'
/usr/src/mxe/tmp-freetype-i686-w64-mingw32.static/freetype-2.5.3/src/autofit/hbshim.c:443:
 undefined reference to `hb_font_set_scale'
/usr/src/mxe/tmp-freetype-i686-w64-mingw32.static/freetype-2.5.3/src/autofit/hbshim.c:446:
 undefined reference to `hb_buffer_set_direction'
/usr/src/mxe/tmp-freetype-i686-w64-mingw32.static/freetype-2.5.3/src/autofit/hbshim.c:447:
 undefined reference to `hb_buffer_set_script'
/usr/src/mxe/tmp-freetype-i686-w64-mingw32.static/freetype-2.5.3/src/autofit/hbshim.c:450:
 undefined reference to `hb_buffer_add_utf32'
...

$ i686-w64-mingw32.static-pkg-config freetype2 --libs --static
-lharfbuzz -lcairo -lgobject-2.0 -lfontconfig -lglib-2.0 -lusp10 -lmsimg32 
-lgdi32 -lpixman-1 -lffi -lexpat -lfreetype -lbz2 -lpng16 -lz -lws2_32 -lole32 
-lwinmm -lshlwapi -lpcre  -lintl -liconv
$ i686-w64-mingw32.static-pkg-config harfbuzz --libs --static
-lharfbuzz -lcairo -lgobject-2.0 -lfontconfig -lglib-2.0 -lusp10 -lmsimg32 
-lgdi32 -lpixman-1 -lffi -lexpat -lfreetype -lbz2 -lpng16 -lz -lws2_32 -lole32 
-lwinmm -lshlwapi -lpcre  -lintl -liconv  

Maybe pkgconf is trimming duplicates?

Cheers!
Sylvain



reply via email to

[Prev in Thread] Current Thread [Next in Thread]