I'm aware there's a problem with Pango and harfbuzz on newer OS's and I can't figure out how to get the installation files for roccat-tools to use the correct pathways. Can you help please?
OS: Linux Mint 20
Roccat-tools: 5.9.0
Error:
Scanning dependencies of target generated_headers [ 0%] Built target generated_headers [ 0%] Generating g_cclosure_roccat_marshaller.h, g_cclosure_roccat_marshaller.c
INFO: Reading /home/eric/Downloads/roccat-tools-5.9.0/libroccathelper/g_roccat_marshaller...
INFO: Reading /home/eric/Downloads/roccat-tools-5.9.0/libroccathelper/g_roccat_marshaller...
Scanning dependencies of target libroccathelper [ 0%] Building C object libroccathelper/CMakeFiles/libroccathelper.dir/dbus_roccat_helper.c.o [ 1%] Building C object libroccathelper/CMakeFiles/libroccathelper.dir/g_cclosure_roccat_marshaller.c.o [ 1%] Building C object libroccathelper/CMakeFiles/libroccathelper.dir/g_dbus_roccat_helper.c.o [ 1%] Building C object libroccathelper/CMakeFiles/libroccathelper.dir/g_roccat_helper.c.o [ 1%] Building C object libroccathelper/CMakeFiles/libroccathelper.dir/g_udev_roccat_helper.c.o [ 1%] Building C object libroccathelper/CMakeFiles/libroccathelper.dir/gtk_roccat_helper.c.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-2.0/gdk/gdktypes.h:37,
from /usr/include/gtk-2.0/gdk/gdkscreen.h:32,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from /home/eric/Downloads/roccat-tools-5.9.0/libroccathelper/gtk_roccat_helper.h:21,
from /home/eric/Downloads/roccat-tools-5.9.0/libroccathelper/gtk_roccat_helper.c:18:
/usr/include/pango-1.0/pango/pango-coverage.h:28:10: fatal error: hb.h: No such file or directory
28 | #include <hb.h>
| ^~~~~~
compilation terminated.
make[2]: [libroccathelper/CMakeFiles/libroccathelper.dir/build.make:136: libroccathelper/CMakeFiles/libroccathelper.dir/gtk_roccat_helper.c.o] Error 1
make[1]: [CMakeFiles/Makefile2:3775: libroccathelper/CMakeFiles/libroccathelper.dir/all] Error 2
make: *** [Makefile:141: all] Error 2</hb.h>
Driving me crackers!
Thanks for any help
Eric
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Then your hb.h is in another subfolder of /usr/include or not installed. Try
find /usr/include -name "hb.h"
in the console and see if it find something. Then either give the right folder instead of /usr/include/harfbuzz or install the development headers for harfbuzz.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
So it's saying hb.h is in the correct subfolder, right? I'm, as you can tell, not very deeply techy, so I'm not entirely sure what this suggests. Any ideas? Sorry that your software turns out to be the one I tried this with.
Eric
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2020-11-27
I had the same problem as Eric. Solution: Delete the contents of the "build" directory before running cmake with the CFLAGS prefix.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2021-01-30
Which file or Folder should i delete? Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2021-12-07
Hello, sorry for late reply but you delete the contents of the build folder.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Heya,
I'm aware there's a problem with Pango and harfbuzz on newer OS's and I can't figure out how to get the installation files for roccat-tools to use the correct pathways. Can you help please?
OS: Linux Mint 20
Roccat-tools: 5.9.0
Error:
Scanning dependencies of target generated_headers
[ 0%] Built target generated_headers
[ 0%] Generating g_cclosure_roccat_marshaller.h, g_cclosure_roccat_marshaller.c
INFO: Reading /home/eric/Downloads/roccat-tools-5.9.0/libroccathelper/g_roccat_marshaller...
INFO: Reading /home/eric/Downloads/roccat-tools-5.9.0/libroccathelper/g_roccat_marshaller...
Scanning dependencies of target libroccathelper
[ 0%] Building C object libroccathelper/CMakeFiles/libroccathelper.dir/dbus_roccat_helper.c.o
[ 1%] Building C object libroccathelper/CMakeFiles/libroccathelper.dir/g_cclosure_roccat_marshaller.c.o
[ 1%] Building C object libroccathelper/CMakeFiles/libroccathelper.dir/g_dbus_roccat_helper.c.o
[ 1%] Building C object libroccathelper/CMakeFiles/libroccathelper.dir/g_roccat_helper.c.o
[ 1%] Building C object libroccathelper/CMakeFiles/libroccathelper.dir/g_udev_roccat_helper.c.o
[ 1%] Building C object libroccathelper/CMakeFiles/libroccathelper.dir/gtk_roccat_helper.c.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-2.0/gdk/gdktypes.h:37,
from /usr/include/gtk-2.0/gdk/gdkscreen.h:32,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from /home/eric/Downloads/roccat-tools-5.9.0/libroccathelper/gtk_roccat_helper.h:21,
from /home/eric/Downloads/roccat-tools-5.9.0/libroccathelper/gtk_roccat_helper.c:18:
/usr/include/pango-1.0/pango/pango-coverage.h:28:10: fatal error: hb.h: No such file or directory
28 | #include <hb.h>
| ^~~~~~
compilation terminated.
make[2]: [libroccathelper/CMakeFiles/libroccathelper.dir/build.make:136: libroccathelper/CMakeFiles/libroccathelper.dir/gtk_roccat_helper.c.o] Error 1
make[1]: [CMakeFiles/Makefile2:3775: libroccathelper/CMakeFiles/libroccathelper.dir/all] Error 2
make: *** [Makefile:141: all] Error 2</hb.h>
Driving me crackers!
Thanks for any help
Eric
See here:
https://sourceforge.net/p/roccat/discussion/989581/thread/3064ff0312/
Hi Stefan,
Thanks for your reply. I'd seen that and did use the suggested command for the build. My problem still occurs when I attempt to make.
This is the output from build:
This is the output from make:
Thanks for your assistance
Eric
Then your hb.h is in another subfolder of /usr/include or not installed. Try
find /usr/include -name "hb.h"
in the console and see if it find something. Then either give the right folder instead of /usr/include/harfbuzz or install the development headers for harfbuzz.
Well this is a mystery!
So it's saying hb.h is in the correct subfolder, right? I'm, as you can tell, not very deeply techy, so I'm not entirely sure what this suggests. Any ideas? Sorry that your software turns out to be the one I tried this with.
Eric
I had the same problem as Eric. Solution: Delete the contents of the "build" directory before running cmake with the CFLAGS prefix.
Which file or Folder should i delete? Thanks
Hello, sorry for late reply but you delete the contents of the build folder.
there is probably a typo in the line
CFLAGS="-isystem /usr/include/harfbuzz" cmake -DCMAKE_INSTALL_PREFIX="/usr" -DWITH_LUA=5.3 ..
it worked for me when added a slash after harfbuzz..
CFLAGS="-isystem /usr/include/harfbuzz/" cmake -DCMAKE_INSTALL_PREFIX="/usr" -DWITH_LUA=5.3 ..