cannot open source file

      When I build a routine project, the terminal window shows that the build was successful, but the problems window reports a bunch of errors to me.

      I followed the solution of others at DEVZONE and added the following path to the c_cpp_properties.json file.

{
    "configurations": [
        {
            "name": "ARM",
            "compileCommands": "${workspaceRoot}/build/compile_commands.json",
            "intelliSenseMode": "clang-x64",
            "browse": {
               "path": [
                    "${workspaceFolder}",
                    "${default}" ,
                    " C:/ncs/zephyr/include/zephyr",
                    "C:\\ncs\\zephyr\\include\\zephyr\\sys",
                    "C:/ncs/zephyr/include/zephyr/sys",
                    "C:\\ncs\\nrf\\modules\\tfm\\tfm\\boards\\include\\zephyr\\sys",
                    "C:/ncs/nrf/modules/tfm/tfm/boards/include/zephyr/sys"
                ]
            },
            "cStandard": "c11",
            "cppStandard": "c++17",
            "configurationProvider": "ms-vscode.cmake-tools"
        }
    ],
    "version": 4
}

    But the error has not been resolved. Please give me some suggestions, thank you!

Related