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

Issues compiling 4.4.0 #16

Closed
todd-herbert opened this issue Aug 29, 2024 · 4 comments
Closed

Issues compiling 4.4.0 #16

todd-herbert opened this issue Aug 29, 2024 · 4 comments

Comments

@todd-herbert
Copy link
Owner

          I'm still running into this issue on v4.4.0, sadly:
/Users/eliot/Library/Arduino15/packages/Heltec-esp32/tools/esp-xs3/2302/bin/../lib/gcc/xtensa-esp32s3-elf/12.2.0/../../../../xtensa-esp32s3-elf/bin/ld: /private/var/folders/dk/8rqvrn_96f77jx0cnj8ndvgr0000gn/T/arduino/cores/8b1972ccdc0c591f4eba9b4bb6647baa/core.a(main.cpp.o):(.literal._Z8loopTaskPv+0xc): undefined reference to `_Z4loopv'
/Users/eliot/Library/Arduino15/packages/Heltec-esp32/tools/esp-xs3/2302/bin/../lib/gcc/xtensa-esp32s3-elf/12.2.0/../../../../xtensa-esp32s3-elf/bin/ld: /private/var/folders/dk/8rqvrn_96f77jx0cnj8ndvgr0000gn/T/arduino/cores/8b1972ccdc0c591f4eba9b4bb6647baa/core.a(main.cpp.o): in function `_Z8loopTaskPv':
/Users/eliot/Library/Arduino15/packages/Heltec-esp32/hardware/esp32/3.0.2/cores/esp32/main.cpp:64: undefined reference to `_Z4loopv'
collect2: error: ld returned 1 exit status
Multiple libraries were found for "SD.h"
  Used: /Users/eliot/Library/Arduino15/packages/Heltec-esp32/hardware/esp32/3.0.2/libraries/SD
  Not used: /Users/eliot/Library/Arduino15/libraries/SD
exit status 1

Compilation error: exit status 1

Originally posted by @eiiot in #12 (comment)

@todd-herbert
Copy link
Owner Author

@eiiot I think this might be something different than issue #12; very keen to catch it though!
I'm not immediately able to reproduce this one here. Can I ask for a bit more info?

  • Which device are you using?
  • Are you able to share the sketch which is producing the error?

@eiiot
Copy link

eiiot commented Aug 29, 2024

I'm using v1.1. My code was just the tutorial code, I think?

#include "heltec-eink-modules.h"

EInkDisplay_WirelessPaperV1_1 display;

void setup() {
    display.print("Hello, World!");
    display.update();
}

@todd-herbert
Copy link
Owner Author

todd-herbert commented Aug 29, 2024

Ah, Arduino insists on also having a loop() method, even if it's empty.

#include "heltec-eink-modules.h"

EInkDisplay_WirelessPaperV1_1 display;

void setup() {
    display.print("Hello, World!");
    display.update();
}

void loop() {
}

I'll update the readme to make that clearer!

@eiiot
Copy link

eiiot commented Aug 29, 2024

That fixed it, thanks!

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

No branches or pull requests

2 participants