I successfully compiled freetype source code ==> freetype.bc
but I failed to compile "Harfbuzz" I faced Exception "helper-cairo-ansi.cc:28:"
In file included from /home/harfbuzz-master/util/helper-cairo-ansi.cc:28:
/home/harfbuzz-master/util/options.hh:261:5: error: use of undeclared identifier
'hb_ot_shape_glyphs_closure'
hb_ot_shape_glyphs_closure (font, buffer, features, num_features, glyphs);
^
1 error generated.
ERROR root: compiler frontend failed to generate LLVM bitcode, halting
Failed to compile "Harfbuzz" which is a text shaping library
According to : https://github.com/TheCherno/Sparky/edit/3D/Dependencies/FreeType-Emscripten/em_build_freetype.bat
I'm trying to simulate sparky Emscripten Experience with "Harfbuzz".
kindly, check this link: http://pastebin.com/z5G3apC0
I successfully compiled freetype source code ==> freetype.bc
but I failed to compile "Harfbuzz" I faced Exception "helper-cairo-ansi.cc:28:" In file included from /home/harfbuzz-master/util/helper-cairo-ansi.cc:28: /home/harfbuzz-master/util/options.hh:261:5: error: use of undeclared identifier 'hb_ot_shape_glyphs_closure' hb_ot_shape_glyphs_closure (font, buffer, features, num_features, glyphs); ^ 1 error generated. ERROR root: compiler frontend failed to generate LLVM bitcode, halting
helper-cairo-ansi.cc source code https://github.com/behdad/harfbuzz/blob/02bfd965af588640250c47f344ad3096c8a373e0/util/helper-cairo-ansi.cc
options.hh source code https://github.com/behdad/harfbuzz/blob/02bfd965af588640250c47f344ad3096c8a373e0/util/options.hh
Any help plz.