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 when using the library #36

Open
nilsonLazarin opened this issue Oct 17, 2023 · 2 comments
Open

Bug when using the library #36

nilsonLazarin opened this issue Oct 17, 2023 · 2 comments

Comments

@nilsonLazarin
Copy link

I'm trying to use the library, but I'm facing this bug.

image

My OS is Debian 12

nilson@acerAspire:~$ cat /etc/os-release 
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"

My Arduino IDE is 1.8.19

nilson@acerAspire:~$ apt list arduino
Listing... Pronto
arduino/stable,now 2:1.8.19+dfsg1-1 amd64 [installed]
@matthijskooijman
Copy link

Hm, I remember this symptom, IIRC it was because this library ended up including the Arduino core new.h header or something rather than the StandardCplusplus version, and the former does not define _UCXXEXPORT.

The same thing happened in ArduinoSTL. See mike-matera/ArduinoSTL#56 (comment) for some background, and mike-matera/ArduinoSTL#82 for my proposed (but unmerged) fix for ArduinoSTL (which could probably be adapted to StandardCpluplus as well, but I won't have time for that).

@nilsonLazarin
Copy link
Author

Thanks, @matthijskooijman

Because I don't need this resource (new) in my project, I only deleted the file new_handler.cpp from library folder and work very well.

image

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