"Incorrect file specified" error when importing compilation_commands.json file

Completed

When importing a compilation_commands.json file I get a lot of errors like the following. Can you provide some more information what the error means so we can diagnose? Thx.

Incorrect file specified: 'fidling/gen/test/fidlcat/examples/cpp/fidl.cc' and directory '/usr/local/google/home/drees/dev/fuchsia/out/x64'

0
2 comments

Hi David!

It seems somewhere in compile_commands.json you have "file": "fidling/gen/test/fidlcat/examples/cpp/fidl.cc" and that file can't be found. Is it a correct path to the file? 

0

Sorry, I didn't describe the problem very well. I wrote a more detailed description in https://intellij-support.jetbrains.com/hc/en-us/requests/2036185.

0

Please sign in to leave a comment.