Replies: 1 comment 1 reply
-
I am a bit confused what the problem is? I assume rofi itself compiles fine both with meson and autoconf (this is checked in CI). It sounds like the files you have problems with are generated files, they normally exist in the build directory. However I am not sure what you are trying todo? what is I use nvim + lazyvim as IDE and that works fine. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I generated the compile commands file by running meson's build system. After setting ccls to look for it at the correct location, I noticed that
config.h
was being reported as not found. I noticed that it is only made during compilation, so added it to a directory and added an include flag to it in.ccls
. By doing this,rofi.c
also gave an error aboutnkutils-git-version.h
not being found, line 50 inrofi.c
being the issue. This is caused by config.h havingUSE_NK_GIT_VERSION
defined, but the .h file in question is generated during compilation aswell, I assume.This is not the intended way to get IDE support, right?
I also noticed that
resources/resources.h
was not being included - some quick searching through the (attached) compile_commands.json file lead me to believe it isn't included.I haven't tried generating the file through
bear
yet, only meson.What programs do you use for IDE support/what am I doing wrong here?
(in case it is needed, here is the compile_commands.json file meson outputs)
Beta Was this translation helpful? Give feedback.
All reactions