Comment 93 for bug 375323

Revision history for this message
Marc Gegnon (azzzt) wrote :

I tried to compile cairo 1.12 for Windows following the instrucions from http://cairographics.org/end_to_end_build_for_win32/. Since this manual is not up-to-date I had to make quite some modificiations to finally compile cairo. In the end I succeeded and got a file cairo.dll that I took to replace the libcairo-2.dll in the inkscape folder. But sadly this was not enough. When inkscape starts I receive the message:

cairo_ft_font_face_create_for_ft_face was not found in libcario-2.dll.

I am pretty sure this has to do with Freetype, so I tried to included freetype in the compilation procedure via setting in the makefile "CAIRO_HAS_FT_FONT=1". But there I just could not get any further. I receive error messages like this

Creating library release/cairo.lib and object release/cairo.exp
cairo-ft-font.obj : error LNK2019: unresolved external symbol _FT_Done_Face referenced in function __font_map_release_face_lock_held

I don't know really know what do now. Did anybody of you guys accomplish to compile the cairo.dll succefully? Or does anybody know how get rid of this cairo-ft-font.obj : error LNK2019?

I also tried to compile cairo via cygwin, but with resulting file inkscape is not able to start anymore.