How to let autocomplete-clang search for GTK+ libraries?


I use $(pkg-config gtkmm-3.0 --cflags --libs) in my shell script to pass every necessary flags to clang, but when I add them to Clang Command in Settings, I got errors.

P.S. I’m new to Clang


You would probably have better luck contacting the maintainer of the package. At a guess, it might do some parsing to the command string that strips out $. You could always execute the shell script instead of clang. It sounds like you already have it set up as a wrapper.