Sarcasm / irony-mode

A C/C++ minor mode for Emacs powered by libclang
GNU General Public License v3.0
901 stars 98 forks source link

Can't find needed headers #589

Open sobkas opened 5 months ago

sobkas commented 5 months ago

While trying to use irony-mode to auto-complete content of struct/class it can't find header files included. I have for example mesa project in ~/repository/pkg_mesa/mesa/. When I open for example src/gallium/drivers/zink/zink_context.c from above directory all I get is:

In "zink_clear.h": util/u_rect.h: No such file or directory

I have tried to add .clang_complete:

-I./include -I./src/gallium/auxiliary/ -I./src/gallium/auxiliary/util/ But it didn't helped.

Any ideas? I followed documentation but couldn't find solution. Thanks.