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

User avatar
liankafohali
Posts: 4
Joined: Sat Mar 27, 2021 2:24 am

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

Postby liankafohali » Sat Mar 27, 2021 2:30 am

  1. {
  2.     "configurations": [
  3.         {
  4.             "name": "Win32",
  5.             "includePath": [
  6.                 "${config:idf.espIdfPathWin}/components/**",
  7.                 "${workspaceFolder}/**",
  8.                 "D:/blink/components/e-paper/include",
  9.                 "D:/esp-tool/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/sys-include/**"
  10.             ],
  11.             "defines": [
  12.                 "_DEBUG",
  13.                 "UNICODE",
  14.                 "_UNICODE"
  15.             ],
  16.             "windowsSdkVersion": "10.0.19041.0",
  17.             "compilerPath": "D:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.28.29910/bin/Hostx64/x64/cl.exe",
  18.             "cStandard": "c11",
  19.             "cppStandard": "c++17",
  20.             "intelliSenseMode": "windows-msvc-x64",
  21.             "compileCommands": ""
  22.         }
  23.     ],
  24.     "version": 4
  25. }
路径配置:
"idf.toolsPathWin": "d:/esp-tool/.espressif",
"idf.espIdfPathWin": "d:/esp-idf",
正确
Attachments
snipaste_20210327_102809.jpg
snipaste_20210327_102809.jpg (283.62 KiB) Viewed 2143 times
snipaste_20210327_102733.jpg
snipaste_20210327_102733.jpg (63.19 KiB) Viewed 2143 times

Who is online

Users browsing this forum: Google [Bot] and 41 guests