eranif / codelite

A multi purpose IDE specialized in C/C++/Rust/Python/PHP and Node.js. Written in C++
https://codelite.org
GNU General Public License v2.0
2.17k stars 464 forks source link

Fedora31 cannot find hb.h #2380

Closed grandinj closed 5 years ago

grandinj commented 5 years ago

Just updated to Fedora31, and I'm seeing this:

[ 4%] Building CXX object CodeLite/CMakeFiles/libcodelite.dir/clBitmap.cpp.o In file included from /usr/include/pango-1.0/pango/pango-font.h:25, from /usr/include/pango-1.0/pango/pango-attributes.h:25, from /usr/include/pango-1.0/pango/pango.h:25, from /usr/include/gtk-3.0/gdk/gdktypes.h:35, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from /home/noel/codelite/CodeLite/clBitmap.cpp:7: /usr/include/pango-1.0/pango/pango-coverage.h:28:10: fatal error: hb.h: No such file or directory 28 | #include | ^~

which looks very similar to https://bugzilla.redhat.com/show_bug.cgi?id=1741077

which seems to indicate that Codelite needs some cmake fix?

alukreis commented 5 years ago

Hi,

This is also an issue in Arch Linux/Manjaro. The current workaround I know of is to add the harfbuzz include directory via the CmakeLists.txt file in the root of the repo code. If you add it to the lines that read:

include_directories(${GTK3_INCLUDE_DIRS})

lines 259 and 266, then it should compile up properly.

alukreis commented 5 years ago

In arch linux/Manjaro the harfbuzz include is in /usr/include/harfbuzz

dghart commented 5 years ago

This is now fixed in #4db88158