FireBeetle ESP 32 C++config.h issue

Hello all
I am new to using esp devices. When ever I try to upload the most basic or complicated code to my FireBeetle ESP 32, it gives me this error in the bottom. I have downloaded the correct board library and followed all the instructions on how to set up the device. Thanks in advance.

In file included from f:\games and tech stuff\arduino\arduino-1.8.8-windows\arduino-1.8.8\portable\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-61-gab8375a-5.2.0\xtensa-esp32-elf\include\c++\5.2.0\memory:62:0,

from F:\Games and Tech Stuff\Arduino\arduino-1.8.8-windows\arduino-1.8.8\portable\packages\esp32\hardware\DFRobot_FireBeetle-ESP32\0.0.9\cores\esp32\Esp.cpp:25:

f:\games and tech stuff\arduino\arduino-1.8.8-windows\arduino-1.8.8\portable\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-61-gab8375a-5.2.0\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algobase.h:59:28: fatal error: bits/c++config.h: No such file or directory

compilation terminated.

exit status 1
Error compiling for board FireBeetle-ESP32.

Try this:

  1. Delete this folder:
    f:\games and tech stuff\arduino\arduino-1.8.8-windows\arduino-1.8.8\portable\packages
    
    :warning: Please be very careful when deleting anything from your computer. When in doubt, back up!
  2. Select File > Preferences from the Arduino IDE menus.
  3. In the "Additional Boards Manager URLs" field, delete the URL you used to install this "DFRobot_FireBeetle-ESP32" thing.
  4. In the "Additional Boards Manager URLs" field, enter this URL:
    https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
    
  5. Click the OK button.
  6. Select Tools > Board > Boards Manager from the Arduino IDE menus.
  7. Wait for the downloads to finish.
  8. Scroll down until you see "esp32 by Espressif Systems". Click on it.
  9. Click the Install button.
  10. Wait for the installation to finish.
  11. Click the Close button.
  12. Select Tools > Board > FireBeetle-ESP32 from the Arduino IDE menus.

Now try compiling again.

The above instructions will remove DFRobot's attempt at providing their own boards platform for ESP32 and install the official ESP32 boards platform, which is much more actively maintained.

Since the official ESP32 boards platform also supports the "FireBeetle-ESP32" board, I can't think of any reason to use DFRobot's variant of the platform.


The above instructions will also remove any other boards platforms you had installed via the Arduino IDE Boards Manager. You can simply install them again in the same way as before. However, I recommend that you first try it with only the ESP32 boards platform installed so that you can verify it is working before adding additional complexity to the system.

Thanks for the response.
Everything you suggested worked until I tried to download the board. This is the error I got.

Error downloading https://dl.espressif.com/dl/package_esp32_index.json

Thanks

  1. After you get that error, click the Close button.
  2. Click on the black console window at the bottom of the Arduino IDE window.
  3. Press Ctrl+A
    This will select all the text in the console window.
  4. Press Ctrl+C
    This will copy the selected text to the clipboard.
  5. In a reply here, click the </> button on the forum toolbar.
    This will insert code tags into the reply field.
  6. Press Ctrl+V
    This will paste the copied text from the clipboard between the code tags.
  7. Click the Post button.