Error compiling for board M5Stack-Paper.

  • I have encountered this error below:

    Arduino: 1.8.13 (Windows Store (Windows 10), Board: "M5Stack-Paper, Enabled, Default (2 x 6.5 MB app, 3.6 MB SPIFFS), 240MHz (WiFi/BT), 115200, None"
    In file included from c:\users\user\dropbox\my pc (laptop-q40lrgpt)\documents\arduinodata\packages\m5stack\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\user\Dropbox\My PC (LAPTOP-Q40LRGPT)\Documents\ArduinoData\packages\m5stack\hardware\esp32\1.0.6\cores\esp32/Arduino.h:142,
                     from sketch\BasicOTA.ino.cpp:1:
    c:\users\user\dropbox\my pc (laptop-q40lrgpt)\documents\arduinodata\packages\m5stack\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 M5Stack-Paper.
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.

    What can I settle this issue?

  • Hello, could you please share the code you were trying to compile and how did you try to compile it, using arduino IDE?