CodecheckerVSCodePlugin icon indicating copy to clipboard operation
CodecheckerVSCodePlugin copied to clipboard

Can‘t check with complie_commands.json generate by chromium's generate_compdb.py

Open Klauxs opened this issue 1 year ago • 1 comments

  • After I click Re-analyze current file, Codechecker output:

[ERROR 2024-09-08 20:59] - Failed to get and parse version of: ../../third_party/llvm-build/Release+Asserts/bin/clang++ [ERROR 2024-09-08 20:59] - [Errno 2] No such file or directory: '../../third_party/llvm-build/Release+Asserts/bin/clang++' [ERROR 2024-09-08 20:59] - Failed to get and parse version of: ../../third_party/llvm-build/Release+Asserts/bin/clang++ [ERROR 2024-09-08 20:59] - [Errno 2] No such file or directory: '../../third_party/llvm-build/Release+Asserts/bin/clang++' [ERROR 2024-09-08 20:59] - Failed to get and parse version of: ../../third_party/llvm-build/Release+Asserts/bin/clang++ [ERROR 2024-09-08 20:59] - [Errno 2] No such file or directory: '../../third_party/llvm-build/Release+Asserts/bin/clang++' [ERROR 2024-09-08 20:59] - Failed to get and parse version of: ../../third_party/llvm-build/Release+Asserts/bin/clang++ [ERROR 2024-09-08 20:59] - [Errno 2] No such file or directory: '../../third_party/llvm-build/Release+Asserts/bin/clang++' [ERROR 2024-09-08 20:59] - Failed to get and parse version of: ../../third_party/llvm-build/Release+Asserts/bin/clang++ [ERROR 2024-09-08 20:59] - [Errno 2] No such file or directory: '../../third_party/llvm-build/Release+Asserts/bin/clang++' [ERROR 2024-09-08 20:59] - Failed to get and parse version of: ../../third_party/llvm-build/Release+Asserts/bin/clang++ [ERROR 2024-09-08 20:59] - [Errno 2] No such file or directory: '../../third_party/llvm-build/Release+Asserts/bin/clang++' [ERROR 2024-09-08 20:59] - Failed to get and parse version of: ../../third_party/llvm-build/Release+Asserts/bin/clang++ [ERROR 2024-09-08 20:59] - [Errno 2] No such file or directory: '../../third_party/llvm-build/Release+Asserts/bin/clang++' [ERROR 2024-09-08 20:59] - Failed to get and parse version of: ../../third_party/llvm-build/Release+Asserts/bin/clang++ ...... It doesn't look like it's going to end.

Klauxs avatar Sep 08 '24 13:09 Klauxs

By the way, my clangd plugin is work well. But I want to use the clang static analyzer which is not support by clangd.

Klauxs avatar Sep 08 '24 13:09 Klauxs