-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not load compilationdatabase - Unknown key: ""output"" #94
Comments
@PiotrZSL @gavinchou - Any idea on how to resolve this issue? |
How did you generate that compilation database? Also your version of LLVM is quite old, perhaps output is a recent addition. (I have no idea about that, just a guess. Upgrading clang might or might not help) |
Since postgres is not a cmake project, I generated
I had installed codebrowser_generator using I also tried building codebrowser with LLVM-13(latest version). I get the following error while compiling,
The 2 errors are:
|
Workaround Fix: Adding
As for the |
@kanihal Since you've solved the db problem, I would like to share some tips on generating compilation.json. Hope it may help in the future. For any project I'd like to compile with codebrowser, I would like to write another new CMakeList.txt for it to get full control of the source code and dependencies needed by codebrowser, even though it already has one. |
I am trying to use woboq on postgres (https://github.com/postgres/postgres).
I have generated
compile_commands.json
using bearNow when I run codebrowser_generator, I get the below-mentioned error
Here is a sample entry from compile_commands.json,
and codebrowser version details:
is the generated entries in compile_commands.json not supposed to contain
output
field?How do I resolve this issue?
The text was updated successfully, but these errors were encountered: