UTBotCpp
UTBotCpp copied to clipboard
Configure error: compile_commands.json doesn't contain a command for object file
Try to generate tests for base64 project When I try to generate tests, I get this
2022-05-13 11:31:50 | projectConfig.js: 37 |I| Project 'base64' was successfully configured.
2022-05-13 11:31:50 | client.js:572 |E| Request project targets error: 3 INVALID_ARGUMENT: Failed to find compile_commands.json:
compile_commands.json doesn't contain a command for object file /home/utbot/Experiments/base64/build/test/CMakeFiles/test_base64.dir/codec_supported.c.o
But compile_commands.json contains this command
{
"arguments": [
"/utbot_distr/install/bin/clang",
"-c",
"-DBASE64_STATIC_DEFINE",
"-I/home/utbot/Experiments/base64/include",
"-o",
"CMakeFiles/benchmark.dir/codec_supported.c.o",
"../../test/codec_supported.c"
],
"directory": "/home/utbot/Experiments/base64/build/test",
"file": "../../test/codec_supported.c"
}