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

error with #include <functional> #60

Open
ChrisCrossTheUniverse opened this issue May 1, 2024 · 3 comments
Open

error with #include <functional> #60

ChrisCrossTheUniverse opened this issue May 1, 2024 · 3 comments

Comments

@ChrisCrossTheUniverse
Copy link

Hi,

i'm getting this error. am i missing a library? what's it called

thanks

In file included from /private/var/folders/6g/9_f4whj51bz86jcc9nkwyjkh0000gn/T/.arduinoIDE-unsaved202441-8806-1wtc6o0.0pmdg/ArtnetWifiDebug/ArtnetWifiDebug.ino:7:0: /Users/.../Documents/Arduino/libraries/ArtnetWifi/src/ArtnetWifi.h:31:10: fatal error: functional: No such file or directory  #include <functional>           ^~~~~~~~~~~~ compilation terminated. exit status 1  Compilation error: exit status 1
@rstephan
Copy link
Owner

rstephan commented May 6, 2024

Hi,

can you give me more details? What controller are use using? What Arduino IDE Version?
The filefunctional should be included by the compiler vendor. Are all updates applied for that board?

@ChrisCrossTheUniverse
Copy link
Author

hi rstephan,

thanks for the reply. i use the arduino uno wifi rev2. i guess, it's not supported by this library. it works well with the nano esp32.

@rstephan
Copy link
Owner

Hi,

you are right, the board is/was not supported. But long story short, I have included the megaavr line-up now!
It will take a day before the Arduino Library Manager will pick up the new version 1.6.0. But you can also use the code from github directly.

But by the way. You should have seen warnings like 'INCOMPATIBLE' and 'architecture(s) and may be incompatible with your current board'.

I don't have that board, so my testing was very limited. If it is working for you, give me feedback please.
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