Closed PengZheng closed 7 years ago
I have the same issue with Eclipse Mars. I don't know if it's related, but "defines" are also omitted but this was working with an old version of pkg-config on Eclipse Kepler.
In details : pkg-config --cflags sdl2 -D_REENTRANT -I/usr/include/SDL2
but "_REENTRANT" "symbol" is not defined in "tool settings".
I think I may be having this as well. Apologies as I am new to eclipse as well, but on Neon 4.6.1 and the pkg-config package I pulled today (1.0.0.201511082105) when selecting GTK+-3.0 the very last item in the path as seen when running pkg-config manually shows
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include
But I get a warning in eclipse
Invalid project path: Include path not found (/usr/lib/x86_64-linux-gnu/glib-2.0/includ).
Note the missing e on the end. It did work mostly as the other GTK path related errors are now gone.
I have the same problem since I have updated from Mars to Neon. This plugin is so essential for CDT, but there are no commits for 1 year :(
Submitted fix, see pull request #19
Merged.
$ pkg-config --cflags sofia-sip-ua -I/usr/include/sofia-sip-1.12
while the plugin(1.0.0.201511082105) gives '-I/usr/include/sofia-sip-1.1'