Ubuntu 22 - VSCode - ESP-IDF - esp-matter not generating compile_commands.json
Posted: Wed Jul 31, 2024 7:23 am
Using:
Ubuntu 22.04.2 LTS
VS Code V1.91.1
ESP-IDF v5.4.0
The issue I get and I got this using Ubunto 24... as well.
When I open a esp-matter example for example "Light" then I can try anything but I do not get the compile_commands.json to be generated at all. Hence the entry in c_cpp_properties.json "compileCommands": "${config:idf.buildPath}/compile_commands.json", points to a missing file.
I get the following error message when building the example.
Cannot find "/home/<user>/Desktop/ESP_Light2/all_device_types_app/build/compile_commands.json"
Does anyone have an idea why I am getting this issue and how to fix it?
Ubuntu 22.04.2 LTS
VS Code V1.91.1
ESP-IDF v5.4.0
The issue I get and I got this using Ubunto 24... as well.
When I open a esp-matter example for example "Light" then I can try anything but I do not get the compile_commands.json to be generated at all. Hence the entry in c_cpp_properties.json "compileCommands": "${config:idf.buildPath}/compile_commands.json", points to a missing file.
I get the following error message when building the example.
Cannot find "/home/<user>/Desktop/ESP_Light2/all_device_types_app/build/compile_commands.json"
Does anyone have an idea why I am getting this issue and how to fix it?