|
Re: Unresolved inclusion [message #1790216 is a reply to message #1790116] |
Thu, 07 June 2018 07:06 |
David Vavra Messages: 1426 Registered: October 2012 |
Senior Member |
|
|
You likely aren't telling the Indexer all of the necessary include paths.
This is the output of pkg-config under Fedora for gtkmm-3.0
$ pkg-config --cflags gtkmm-3.0
-pthread -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/atkmm-1.6 -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -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/lib64/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/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
Note that some of them are not in /usr/include
For example, glibmmconfig.h is in /usr/lib64/glibmm-2.4/include
$ find /usr/lib64 -name "glibmmconfig.h"
/usr/lib64/glibmm-2.4/include/glibmmconfig.h
You probably don't need all of them.
You'll have to chase down what you need then add them to your project.
It's going to be tedious.
Also wouldn't hurt to rebuild the Index after setting the include paths.
Project --> C/C++ Index --> Rebuild
|
|
|
Powered by
FUDForum. Page generated in 0.03249 seconds