🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Error compiling for board M5Stack-Paper.

    Arduino
    2
    2
    4.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      kalon00
      last edited by

      I have encountered this error below:

      Arduino: 1.8.13 (Windows Store 1.8.42.0) (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?

      1 Reply Last reply Reply Quote 0
      • ZontexZ
        Zontex
        last edited by

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

        1 Reply Last reply Reply Quote 0
        • First post
          Last post