My name is Sebastian. I am trying to compile a project under Ubuntu 20. This project is for sending data to a Timex Datalink via a μc (link: https://github.com/dfries/datalink_ironman). In this Github repository is a folder name "graph". Inside this folder is a c++ source file (fun.cc) and a make file. When I open the terminal inside this folder and enter "make" I get the error message "Fatal error: gtk--.h: No such file or directory".
But gtk is installed. The command "pkg-config gtk+-2.0 --cflags"gives the output:
-pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16
Has someone an idea how to compile this program?
question from:
https://stackoverflow.com/questions/65951994/fatal-error-gtk-h-no-such-file-or-directory 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…