Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emscripten #129

Open
mahmoudghonim opened this issue Nov 28, 2016 · 0 comments
Open

Emscripten #129

mahmoudghonim opened this issue Nov 28, 2016 · 0 comments

Comments

@mahmoudghonim
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant