#include errors detected. Consider updating your compile_commands.json or includePath. Squiggles are disabled for this translation unit #7205
Unanswered
Benedito821
asked this question in
Q&A
Replies: 1 comment 10 replies
-
There errors you're showing are not related to building -- they're just IntelliSense errors. It sounds like your compile_commands.json doesn't have the include directories set correctly? If you can't build you need to adjust your build system to add the include directories. Then if the build system generates the compile_commands.json correctly then the IntelliSense errors should ago away. Otherwise, you could try removing the compileCommands and just adding the include directory to the includePath. |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello! I am facing problems when trying to build my project(I use ubuntu 18). I see these errors:
I found here on the forum the same issue but there was not a solution.
I will show at once my c_cpp_properties.json file:
{
"configurations": [
{
"name": "Linux",
"includePath": [
"${workspaceFolder}/**",
],
"defines": [],
"compilerPath": "/usr/bin/gcc",
"cStandard": "gnu11",
"cppStandard": "gnu++14",
"intelliSenseMode": "linux-gcc-x64",
"compileCommands": "${workspaceFolder}/build/bootloader/compile_commands.json"
}
],
"version": 4
}
my settings_json file :
{
"idf.port": "/dev/ttyUSB0",
"idf.flashType": "UART",
"C_Cpp.errorSquiggles": "Enabled"
}
I am stucked on this and cannot build my project
All the files exist on my disk. I tried to add new paths in includePath but nothing changed. I don't know what to do.
Beta Was this translation helpful? Give feedback.
All reactions