I got such errors ( is valid path, but I can't show it in here):
Irony CDB: error in compilation database: (irony-server-error cannot-load-database "failed to load compilation database from directory" "/home/pjanusze/<some_path>")
Irony CDB: error in compilation database: (file-error "Opening input file" "No such file or directory" "/home/pjanusze/<some_path>/compile_commands.json")
Irony CDB: error in compilation database: (irony-server-error cannot-load-database "failed to load compilation database from directory" "/home/pjanusze/<some_path>")
Irony CDB: error in compilation database: (file-error "Opening input file" "No such file or directory" "/home/pjanusze/<some_path>/compile_commands.json")
The thing is, this path those errors report is not the one I have my compile_commands.json in (but it has some Makefile in it, does it matter?). compile_commands.json is three dirs earlier in the reported path. I tried to change path with irony-cdb-json-add-compile-commands-path (and then also execute irony-cdb-autosetup-compile-options), but it still tries to find compile_commands.json in this wrong path.
I use bear (https://github.com/rizsotto/Bear) to generate this compile_commands.json file.
Hi!
I got such errors ( is valid path, but I can't show it in here):
The thing is, this path those errors report is not the one I have my compile_commands.json in (but it has some Makefile in it, does it matter?). compile_commands.json is three dirs earlier in the reported path. I tried to change path with
irony-cdb-json-add-compile-commands-path
(and then also executeirony-cdb-autosetup-compile-options
), but it still tries to find compile_commands.json in this wrong path. I usebear
(https://github.com/rizsotto/Bear) to generate this compile_commands.json file.Can you help me? Thanks, Piotr