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

[BUG]ESP3D will not compile without errors for ESP32dev #1072

Open
CybrGost69 opened this issue Jan 28, 2025 · 2 comments
Open

[BUG]ESP3D will not compile without errors for ESP32dev #1072

CybrGost69 opened this issue Jan 28, 2025 · 2 comments

Comments

@CybrGost69
Copy link

CybrGost69 commented Jan 28, 2025

using VS Code
While compiling for Defualt Environment: ESP8266 everything compiles with no errors, when changed to ESP32dev, compile errors develope:

"Archiving .pioenvs\esp32dev\libb3c\libESPmDNS.a
Archiving .pioenvs\esp32dev\libFrameworkArduino.a
Linking .pioenvs\esp32dev\firmware.elf
.pioenvs\esp32dev\libFrameworkArduino.a(main.cpp.o):(.literal._Z8loopTaskPv+0x4): undefined reference to setup()' .pioenvs\esp32dev\libFrameworkArduino.a(main.cpp.o):(.literal._Z8loopTaskPv+0x8): undefined reference to loop()'
.pioenvs\esp32dev\libFrameworkArduino.a(main.cpp.o): In function loopTask(void*)': C:\Users\koger\.platformio\packages\framework-arduinoespressif32\cores\esp32/main.cpp:14: undefined reference to setup()'
C:\Users\koger.platformio\packages\framework-arduinoespressif32\cores\esp32/main.cpp:17: undefined reference to `loop()'
collect2.exe: error: ld returned 1 exit status
*** [.pioenvs\esp32dev\firmware.elf] Error 1
======================================================== [FAILED] Took 9.57 seconds ========================================================"

Environment Status Duration


esp32dev FAILED 00:00:09.567

To Reproduce

  1. Change default_envs from ESP8266 to ESP32dev
  2. Compile
  3. See errors

Expected behavior

ESP3D Firmware:

ESP3D-2.1.x

Target Firmware:

N/A

Board used (please complete the following information):

ESP32dev

@CybrGost69 CybrGost69 added the bug label Jan 28, 2025
Copy link

Thank your for submiting, please be sure you followed template or your issue may be dismissed. if you deleted the template it is here

@CybrGost69 CybrGost69 changed the title [BUG] [BUG]ESP3D will not compile without errors for ESP32dev Jan 28, 2025
@luc-github
Copy link
Owner

The compilation is ok on my side and also on CI
Image

I did direct compilation of esp32dev - no need to set as default https://esp3d.io/ESP3D/Version_2.1.X/installation/vscode-platformio/

I have also did same as you build default (esp8266=>Ok), then change default to esp32dev then build default and compilation also passed

Image

The error you raised is a platform error, not a firmware issue - it looks like the esp32 sdk is not yet ready on your system
I suggest you to do a Clean All and redo the compilation

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

No branches or pull requests

2 participants