You are not logged in.
Pages: 1
Hi, I'm having trouble building something using gtk2 and pango. It's complaining that a header called hb.h is missing but I used to build it just fine a few weeks ago. I have no clue which package this would include. The project is PCSX2, here is the error.
In file included from /usr/include/gtk-2.0/gtk/gtk.h:32:
In file included from /usr/include/gtk-2.0/gdk/gdk.h:32:
In file included from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31:
In file included from /usr/include/gtk-2.0/gdk/gdkscreen.h:32:
In file included from /usr/include/gtk-2.0/gdk/gdktypes.h:37:
In file included from /usr/include/pango-1.0/pango/pango.h:25:
In file included from /usr/include/pango-1.0/pango/pango-attributes.h:25:
In file included from /usr/include/pango-1.0/pango/pango-font.h:25:
/usr/include/pango-1.0/pango/pango-coverage.h:28:10: fatal error: 'hb.h' file not found
#include <hb.h>
^~~~~~
1 error generated.
Offline
$ pkgfile hb.h
extra/harfbuzz
Last edited by skunktrader (2019-08-17 06:51:32)
Offline
Yes... except
> pacman -Fs hb.h
extra/harfbuzz 2.5.1-1 [installed: 2.5.3-1]
usr/include/harfbuzz/hb.h
You will need to add a "-I /usr/include/harfbuzz/" to your compiler call.
Offline
$ pkgfile hb.h extra/harfbuzz
Thanks for getting back. I tried to reinstall the package but I'm still getting the same error, the file is definitely there in /usr/include. I might have to check the include paths and tell devs about this. Thanks again!
Offline
Covered in the comments on https://aur.archlinux.org/packages/pcsx2-git/ and this issue https://gitlab.kitware.com/cmake/cmake/issues/19531
Edit:
https://github.com/PCSX2/pcsx2/issues/3079
Last edited by loqs (2019-08-17 11:46:22)
Offline
You will need to add a "-I /usr/include/harfbuzz/" to your compiler call.
… or (in the interest of not hardcoding such options), the output of `pkgconf --cflags harfbuzz`, which adds a few more flags:
$ pkgconf --cflags harfbuzz
-I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
Offline
Pages: 1