Open blasco opened 4 years ago
Hi,
I'm not sure how this error is related to CodeChecker. Where is the CodeChecker command executed? Can the Build.sh script generate a compile_command.json or you want to try to log the compiler calls with CodeChecker? In CodeChecker there is a log command which can be used to generate a compile_command.json file. Probably something like this could work:
CodeChecker log -o compile_command.json -b "/home/blasco/Programs/UnrealEngine/Engine/Build/BatchFiles/Linux/Build.sh -project=/home/blasco/Documents/Unreal/MyProject/MyProject.uproject -mode=GenerateClangDatabase UE4Game Linux Development"
but I'm not familiar what the Build.sh script does.
This issue is connected to #1971.
Describe the bug When I try the following command:
It fails with:
But Clang is installed, I was actually able to build the engine. Building the project from the engine also works, but I want to use the Build.sh tool to generate the compile_commands.json. Where is it looking for clang? Why doesn't find it?
Desktop (please complete the following information)