Describe the bug
Build fails to find gio.h
To Reproduce
Steps to reproduce the behavior:
bcroan@x360:~/gits/fingerprint-gui/build$ make install
[ 0%] Built target COMMON_OBJS_autogen_timestamp_deps
[ 1%] Built target COMMON_OBJS_autogen
[ 2%] Building CXX object src/CMakeFiles/COMMON_OBJS.dir/__/include/moc_FingerprintDevice.cpp.o
In file included from /usr/include/libfprint-2/fp-device.h:23,
from /usr/include/libfprint-2/fp-context.h:22,
from /usr/include/libfprint-2/fprint.h:22,
from /home/bcroan/gits/fingerprint-gui/build/src/__/include/../../../../include/Globals.h:28,
from /home/bcroan/gits/fingerprint-gui/build/src/__/include/../../../../include/Fingercodes.h:17,
from /home/bcroan/gits/fingerprint-gui/build/src/__/include/../../../../include/FingerprintData.h:21,
from /home/bcroan/gits/fingerprint-gui/build/src/__/include/../../../../include/FingerprintDevice.h:21,
from /home/bcroan/gits/fingerprint-gui/build/src/__/include/moc_FingerprintDevice.cpp:10:
/usr/include/libfprint-2/fp-image.h:23:10: fatal error: gio/gio.h: No such file or directory
23 | #include <gio/gio.h>
| ^~~~~~~~~~~
compilation terminated.
make[2]: *** [src/CMakeFiles/COMMON_OBJS.dir/build.make:101: src/CMakeFiles/COMMON_OBJS.dir/__/include/moc_FingerprintDevice.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:207: src/CMakeFiles/COMMON_OBJS.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
bcroan@x360:~/gits/fingerprint-gui/build$ apt-file search gio/gio.h
libglib2.0-dev: /usr/include/glib-2.0/gio/gio.h
libglib2.0-doc: /usr/share/gtk-doc/html/gio/gio.html
bcroan@x360:~/gits/fingerprint-gui/build$ apt install libglib2.0-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libglib2.0-dev is already the newest version (2.74.6-2).
0 upgraded, 0 newly installed, 0 to remove and 132 not upgraded.
bcroan@x360:~/gits/fingerprint-gui/build$ file /usr/include/glib-2.0/gio/gio.h
/usr/include/glib-2.0/gio/gio.h: C source, ASCII text
bcroan@x360:~/gits/fingerprint-gui/build$
Expected behavior
would expect build to complete. But I assume something needs to tell the compile process to look in /usr/include/glib-2.0/ for gio
Desktop (please complete the following information):
Describe the bug
Build fails to find gio.h
To Reproduce
Steps to reproduce the behavior:
Expected behavior
would expect build to complete. But I assume something needs to tell the compile process to look in /usr/include/glib-2.0/ for gio
Desktop (please complete the following information):