Skip to content

Can't get ESP32 working with Arduino IDE on macOS Big Sur: xtensa-esp32-elf-g++: error #4871

Closed
@wouterds

Description

@wouterds

I keep getting this when trying to install a program to my Wemos Lolin32 Lite ESP32 development board on macOS Big Sur with latest version of the Arduino IDE. It works however on an older macOS device.

Console output:

xtensa-esp32-elf-g++: error: Lite: No such file or directory
xtensa-esp32-elf-g++: error: Lite": No such file or directory
exit status 1
Error compiling for board WEMOS LOLIN32 Lite.

System: macOS Big Sur 11.2.2
Arduino IDE: 1.8.13
arduino-esp32: 1.0.5

Steps to reproduce:

  1. Download Arduino IDE
  2. Install Arduino IDE app
  3. Add ESP32 to boards manager
  4. Install ESP32 boards
  5. Select board type & serial port
  6. Try to write basic blink program to board

Anyone that got it working on macOS Big Sur? Am I missing something?

(I recorded above steps to reproduce in case anyone could help out by just watching me do it https://youtu.be/IsvjP5e27ZQ)

Activity

wouterds

wouterds commented on Mar 2, 2021

@wouterds
Author

Some extra information of my other machine where this is still working:

System: macOS Catalina 10.15.5
Arduino IDE: 1.8.13
arduino-esp32: 1.0.4

TheRealDJ

TheRealDJ commented on Mar 2, 2021

@TheRealDJ
Contributor

There is an issue in the 1.0.5 boards.txt (as well as the master) with this device. There is a space in the lolin32-lite.build.board setting.

lolin32-lite.build.board=LOLIN32 Lite

should be changed to something without a space, like

lolin32-lite.build.board=LOLIN32_Lite

I submitted PR 4885 to correct this.

wouterds

wouterds commented on Mar 6, 2021

@wouterds
Author

I can confirm that works, can we please release 1.0.6 with this fix? 🙏

me-no-dev

me-no-dev commented on Mar 6, 2021

@me-no-dev
Member

@wouterds we will :)

stale

stale commented on Jun 20, 2021

@stale

[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

TheRealDJ

TheRealDJ commented on Jun 30, 2021

@TheRealDJ
Contributor

Looks like this was included in release 1.0.6 (https://github.com/espressif/arduino-esp32/releases/tag/1.0.6). @wouterds Can you confirm 1.0.6 works as expected then close the ticket?

stale

stale commented on Jun 30, 2021

@stale

[STALE_CLR] This issue has been removed from the stale queue. Please ensure activity to keep it openin the future.

stale

stale commented on Sep 3, 2021

@stale

[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

stale

stale commented on Sep 19, 2021

@stale

[STALE_DEL] This stale issue has been automatically closed. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: StaleIssue is stale stage (outdated/stuck)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Can't get ESP32 working with Arduino IDE on macOS Big Sur: xtensa-esp32-elf-g++: error · Issue #4871 · espressif/arduino-esp32