鼠标放到标准头文件上,VSCode提示一下错误:

#include errors detected. Please update your includePath. IntelliSense features for this translation unit (X:\_09_Linux\_02_程序\work\robot-car\module\tcp_server\drive_tcp_server.c) will be provided by the Tag Parser.
cannot open source file "stdio.h"

放上去有个小灯泡,点灯泡设置路劲。在c_cpp_properties.json添加路劲即可。

[注意]

windows下的路径添加位置在msvc-x64

"intelliSenseMode": "msvc-x64",
"browse": {
"path": [
"X:/LinuxC_Include",
"${workspaceRoot}"
],


相关文章:

  • 2022-12-23
  • 2021-09-29
  • 2021-09-04
  • 2021-10-30
  • 2021-09-17
  • 2021-12-13
  • 2022-12-23
  • 2021-08-29
猜你喜欢
  • 2021-07-09
  • 2022-02-25
  • 2021-07-14
  • 2021-04-16
  • 2021-07-16
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案