I am using spacemacs (emacs distribution) and I activated the C/C++ layer with clangd as the backend for LSP.
I am currently doing a project with the gtkmm library and in one of my headers I include the library like this :
The library is installed on my system but clangd doesn’t recognize it and says :
'gtkmm.h' file not found [pp_file_not_found]
It really annoys me because now I have errors everywhere like so :
So is it possible to tell clangd where the external libraries are with lsp and emacs?
- OS :
- spacemacs :
develop branch ca2cdd0fc
- clangd :
clangd version 10.0.0-4ubuntu1
(Btw : I created a topic on the emacs stack exchange but no answers yet… )