You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noted this discussion where the problem was resolved by enabling external-harfbuzz but that just seems to have a different set of build issues where it looks like the XeTeX build is looking for <harfbuzz/hb.h> but the pkg-config include flag is already pointing to the harfbuzz directory so it's missing the header:
[snip]
The following warnings were emitted during compilation:
warning: tectonic_xetex_layout@0.2.4: In file included from layout/xetex-XeTeXFontInst.cpp:42:
warning: tectonic_xetex_layout@0.2.4: layout/tectonic_xetex_layout.h:42:10: fatal error: 'harfbuzz/hb.h' file not found
warning: tectonic_xetex_layout@0.2.4: #include <harfbuzz/hb.h>
warning: tectonic_xetex_layout@0.2.4: ^~~~~~~~~~~~~~~
warning: tectonic_xetex_layout@0.2.4: 1 error generated.
error: failed to run custom build command for `tectonic_xetex_layout v0.2.4`
I was about to start mucking around with CFLAGS but figured there might be some deeper issue I'm missing, at least with regard to getting the vendored version building properly when the Tectonic is a dependency.
The text was updated successfully, but these errors were encountered:
Found it - it's actually already been fixed in d5a605d, but for some reason that doesn't land if you download tectonic from master and run git submodule update --init --recursive. That change fixed it for me, if anyone else has this problem!
I'm trying to embed Tectonic in another program but am running into build issues that I can't quite pin down...
I'm building on macOS with dependencies installed via Homebrew.
This works just fine:
But this fails:
With trouble building the vendored HarfBuzz, it looks like.
I noted this discussion where the problem was resolved by enabling
external-harfbuzz
but that just seems to have a different set of build issues where it looks like the XeTeX build is looking for<harfbuzz/hb.h>
but the pkg-config include flag is already pointing to theharfbuzz
directory so it's missing the header:I was about to start mucking around with CFLAGS but figured there might be some deeper issue I'm missing, at least with regard to getting the vendored version building properly when the Tectonic is a dependency.
The text was updated successfully, but these errors were encountered: