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
$ 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!
]]>> 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.
]]>$ pkgfile hb.h
extra/harfbuzz
]]>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.