Hello all, I have been using the Arduino Due on my laptop's Arduino IDE for quite a while now. However, when I recently switched to using an ESP32 (exact board is from here) I couldn't seem to compile anything into it. I downloaded the driver needed using the instructions from this website, and I am able to select a PORT on the IDE as well (PORT5). However when I try to upload code into the ESP32 it throws me an error about a missing file or directory:
Arduino: 1.8.13 (Windows Store 1.8.42.0) (Windows 10), Board: "Node32s, 80MHz, 921600"
In file included from c:\users\bill yen\onedrive - northwestern university\documents\arduinodata\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-80-g6c4433a-5.2.0\xtensa-esp32-elf\include\c++\5.2.0\algorithm:60:0,
from C:\Users\Bill Yen\OneDrive - Northwestern University\Documents\ArduinoData\packages\esp32\hardware\esp32\1.0.4\cores\esp32/Arduino.h:142,
from sketch\WiFiScan.ino.cpp:1:
c:\users\bill yen\onedrive - northwestern university\documents\arduinodata\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-80-g6c4433a-5.2.0\xtensa-esp32-elf\include\c++\5.2.0\utility:68:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
exit status 1
Error compiling for board Node32s.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
I get the same error regardless of whether I even plug the ESP32 into my computer or not, and I do hold down the BOOT button when I upload. Does anyone have any insight on how to fix this and get the missing file in there? I just downloaded the ESP32 board manager thing from this link (https://dl.espressif.com/dl/package_esp32_index.json) given in the tutorial linked above, so I don't understand why there would be missing files. Any comments or suggestions is greatly appreciated, as I am really new to using ESP32. Thank you all so much!