Page 1 of 1

ESP32 win10 vscode 编译报错(无法打开头文件,无法读取)

Posted: Sat Mar 27, 2021 2:30 am
by liankafohali

Code: Untitled.js Select all

{
"configurations": [
{
"name": "Win32",
"includePath": [
"${config:idf.espIdfPathWin}/components/**",
"${workspaceFolder}/**",
"D:/blink/components/e-paper/include",
"D:/esp-tool/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/sys-include/**"
],
"defines": [
"_DEBUG",
"UNICODE",
"_UNICODE"
],
"windowsSdkVersion": "10.0.19041.0",
"compilerPath": "D:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.28.29910/bin/Hostx64/x64/cl.exe",
"cStandard": "c11",
"cppStandard": "c++17",
"intelliSenseMode": "windows-msvc-x64",
"compileCommands": ""
}
],
"version": 4
}
路径配置:
"idf.toolsPathWin": "d:/esp-tool/.espressif",
"idf.espIdfPathWin": "d:/esp-idf",
正确