![]() ![]() ![]() Go to: Project Properties > Build > C++ Compiler > General > Include Directories > and add in each one. usr/lib/arm-linux-gnueabihf/glib-2.0/include usr/lib/arm-linux-gnueabihf/dbus-1.0/include pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/includeĬonvert it into a list of directories and delete any duplicates, so you end up with something like this: Now you need to add all of the directories used by the gtk libraries – dull but necessary… Use this command: Note the single quote marks are correct and should be used as is! `pkg-config –cflags gtk+-3.0` `pkg-config –libs gtk+-3.0` Go to: Project Properties > Build > Linker > Compilation Line > Additional Options > paste in this: Include gtk and get programming – see here. Update your makefile to use the gtk libs and cflags:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |