Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP32 Arduino boards package error in 2.0.10 #8430

Closed
1 task done
CanHobby opened this issue Jul 19, 2023 · 6 comments
Closed
1 task done

ESP32 Arduino boards package error in 2.0.10 #8430

CanHobby opened this issue Jul 19, 2023 · 6 comments
Labels
IDE: Arduino IDE Issue relates to Arduino IDE Resolution: Duplicate Issue is a duplicate of another issue
Milestone

Comments

@CanHobby
Copy link

Board

all ESP32-xxx

Device Description

makes no difference as to which board I am using.. I am only trying to compile - not even uploading.

I use Ubuntu 23.04 - Arduino IDE 1.8.10

any compile gives the error:

Arduino: 1.8.10 (Linux), Board: "ESP32 Dev Module, Disabled, Disabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 921600, Core 1, Core 1, None, Disabled"

Compiling core...
bash -c "echo '-DARDUINO_CORE_BUILD" > "/tmp/arduino_build_696887/file_opts""

: -c: line 1: unexpected EOF while looking for matching `''
exit status 2
Error compiling for board ESP32 Dev Module.

Many times the IDE actually just hangs - to the point I had to log out several times...

Going back to 2.0.9 removes the problem...

Hardware Configuration

No

Version

latest master (checkout manually)

IDE Name

Arduino IDE 1.8.10

Operating System

Ubuntu 23.04

Flash frequency

80MHz

PSRAM enabled

no

Upload speed

921600

Description

see above

Sketch

Blink with Builtin_LED defined

Debug Message

see above

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.
@CanHobby CanHobby added the Status: Awaiting triage Issue is waiting for triage label Jul 19, 2023
@lbernstone
Copy link
Contributor

Dupe #8424

@SuGlider SuGlider added Type: Question Only question IDE: Arduino IDE Issue relates to Arduino IDE Resolution: Duplicate Issue is a duplicate of another issue and removed Status: Awaiting triage Issue is waiting for triage Type: Question Only question labels Jul 19, 2023
@VojtechBartoska VojtechBartoska added this to the 2.0.11 milestone Jul 20, 2023
@VojtechBartoska
Copy link
Collaborator

Fix is included in new release https://github.com/espressif/arduino-esp32/releases/tag/2.0.11, please give it a try.

@cmburns
Copy link

cmburns commented Oct 21, 2023

Hi,

I used Sloeber IDE 4.4.1 and added a sketch with empty setup and loop funktion and get a file_opts error (No such file or directory) as well.
My device is ESP32 WROOM and I used ESP32 DEV Module as board in Sloeber IDE.
If I compile I get following error:

... IC:\Sloeber441\arduinoPlugin\packages\esp32\hardware\esp32\2.0.14/tools/sdk/esp32s3/qio_qspi/include" -mlongcalls -ffunction-sections -fdata-sections -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-sign-compare -ggdb -freorder-blocks -Wwrite-strings -fstack-protector -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -fno-jump-tables -fno-tree-switch-conversion -std=gnu++11 -fexceptions -fno-rtti -MMD -c -w -Os -DF_CPU=240000000L -DARDUINO=10812 -DARDUINO_ESP32S3_DEV -DARDUINO_ARCH_ESP32 "-DARDUINO_BOARD=\"ESP32S3_DEV\"" -DARDUINO_VARIANT="esp32s3" -DARDUINO_PARTITION_default -DESP32 -DCORE_DEBUG_LEVEL=0 -DARDUINO_RUNNING_CORE=1 -DARDUINO_EVENT_RUNNING_CORE=1 -DARDUINO_USB_MODE=1 -DARDUINO_USB_CDC_ON_BOOT=0 -DARDUINO_USB_MSC_ON_BOOT=0 -DARDUINO_USB_DFU_ON_BOOT=0 "@C:\Users\Thomas\Documents\sloeber441workspace\Test\Release/file_opts" -I"C:\Sloeber441\arduinoPlugin\packages\esp32\hardware\esp32\2.0.14\variants\esp32s3" -I"C:\Sloeber441\arduinoPlugin\packages\esp32\hardware\esp32\2.0.14\cores\esp32" -I"C:\Sloeber441\arduinoPlugin\packages\esp32\hardware\esp32\2.0.14\libraries\ESP32\src" -MMD -MP -MF"sloeber.ino.cpp.d" -MT"sloeber.ino.cpp.o" -D__IN_ECLIPSE__=1 -x c++ "..\sloeber.ino.cpp" -o "sloeber.ino.cpp.o" **xtensa-esp32s3-elf-g++: error: C:\Users\Thomas\Documents\sloeber441workspace\Test\Release/file_opts: No such file or directory** make[1]: *** [subdir.mk:20: sloeber.ino.cpp.o] Error 1 make: *** [makefile:97: all] Error 2 "C:/Sloeber441/arduinoPlugin/tools/make/make all" terminated with exit code 2. Build might be incomplete.

What I am missing please?

@me-no-dev
Copy link
Member

This looks like Sloeber issue. Please ask there.

@GitHubLionel
Copy link

Hi, I have the same problem with Sloeber.
Did you find a solution ?
I notice that the directive IN_ECLIPSE is not defined in the sloeber.ino.cpp.
Thank's,
Lionel

@manmasel1975
Copy link

manmasel1975 commented Feb 29, 2024

Hello,
I use sloeber and I have this problem.
For the moment I have manually created the file "file_opts" into the folder "release". Then I compile the source and all is done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IDE: Arduino IDE Issue relates to Arduino IDE Resolution: Duplicate Issue is a duplicate of another issue
Projects
None yet
Development

No branches or pull requests

8 participants