Configure your IntelliSense settings to help find missing he
vscode吧
全部回复
仅看楼主
level 1
蓝梦妖蝶 楼主
强制添加库之后报错
"forcedInclude":
[
"D:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/include/stdint.h" ,
"${workspaceFolder}/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h",
"${workspaceFolder}/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h",
"${workspaceFolder}/Inc/main.h"
]
#include errors detected. Please update your includePath. IntelliSense features for this translation unit (****\Src\main.c) will be provided by the Tag Parser.
cannot open source file "vcruntime.h" (dependency of "D:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\stdint.h")
cannot open source file "stdint.h" (dependency of "****\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f103xb.h")
Configure your IntelliSense settings to help find missing headers.
2020年06月16日 02点06分 1
level 1
蓝梦妖蝶 楼主
已解决
换成"D:/MinGW/include/stdint.h" ,库就行了。
不知道为什么,同样是stdint库,VS2019 的库就不行。minGW的库就行。
虽然不知道为什么,但是问题已经解决了。
2020年06月16日 02点06分 2
1