您的位置:首页 > 其它

【解决】VSCode在windows下不能打开标准头文件

2018-01-27 22:54 519 查看
鼠标放到标准头文件上,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}"
],
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: