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

Doesnt work with latest esp32 boards in Arduino IDe #35

Open
rachelbryan opened this issue Jan 11, 2022 · 8 comments
Open

Doesnt work with latest esp32 boards in Arduino IDe #35

rachelbryan opened this issue Jan 11, 2022 · 8 comments

Comments

@rachelbryan
Copy link

Installing latest esp32 boards in Arduino IDE breaks your great library

@SaifSabban
Copy link

On both ESP32 Pico and ESP Wroom, error comes up on compiler as "'QRCode' does not name a type"

@Invisibleman1002
Copy link

I followed someone else advice and renamed the QRCode.h and QRCode.C file.
I chose qrcoderm, as in qrcode(r)ic(m)oo. Welcome to pick your own name.

#include <qrcoderm.h>

I also renamed the libraries folder to 'qrcoderm'.
You need to change line 33 in the qrcoderm.c. to the new include name as well.

After that, the library compiled and code was uploaded to me ESP32_DevKitc_v4.

Good luck!

@stshady
Copy link

stshady commented Feb 26, 2023

I still can not compile it for ESP32 with Arduino IDE, even after renaming. Tried on two different installations - no luck.
Any advice please? I would like to make a QR code and print it on a thermal printer.

@MYCAMEL222
Copy link

MYCAMEL222 commented May 28, 2023

I think I figured this out. I was in the same boat as all of you above..

I tracked down the ESP32 board folder and deleted the QRCode folder in ESP32..

"C:\Users\xxxxx\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.9\tools\sdk\esp32\include\qrcode"

My code immediately compiled with no errors.

Remember to do the same if you install board updates.

@DarrellChan
Copy link

I think I figured this out. I was in the same boat as all of you above..

I tracked down the ESP32 board folder and deleted the QRCode folder in ESP32..

"C:\Users\xxxxx\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.9\tools\sdk\esp32\include\qrcode"

My code immediately compiled with no errors.

Remember to do the same if you install board updates.

This solved my compilation error. Note that if AppData folder might be Hidden.

@ricmoo
Copy link
Owner

ricmoo commented Mar 1, 2024

I’m back into doing more ESP32 work now; I should consider renaming the component folder.

Thanks for the info. :)

@c9obvi
Copy link

c9obvi commented Apr 11, 2024

I’m back into doing more ESP32 work now; I should consider renaming the component folder.

Thanks for the info. :)

Thank you for the library and please do come back to the ESP32 world!

@MadOrkestra
Copy link

I’m back into doing more ESP32 work now; I should consider renaming the component folder.

Thanks for the info. :)

Welcome back, renaming does the trick, can you please merge and release the pull request #36

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

9 participants