Xtensa-esp32-elf-g++: error trying to exec 'cc1plus': execvp: No such file or directory (solved!)

For the ESP32, did you do this:

Add Boards Manager Entry

  1. Open the Arduino IDE. Make sure that you are at version 1.8 or higher, if not then update your IDE with the latest version.
  2. Click on the File menu on the top menu bar.
  3. Click on the Preferences menu item. This will open a Preferences dialog box.
  4. You should be on the Settings tab in the Preferences dialog box by default.
  5. Look for the textbox labeled “Additional Boards Manager URLs ”.
  6. If there is already text in this box add a coma at the end of it, then follow the next step.
  7. Paste the following link into the text box – https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
  8. Click the OK button to save the setting.
    ?

From: Getting Started with the ESP32 - Using the Arduino IDE (dronebotworkshop.com)

2 Likes