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

Blynk 1.0.0 compilation error: "functional: No such file or directory" #106

Closed
JAndrassy opened this issue May 30, 2021 · 10 comments
Closed
Assignees
Labels
bug Something isn't working ready to test

Comments

@JAndrassy
Copy link

JAndrassy commented May 30, 2021

compilation error:
Arduino/libraries/Blynk/src/Blynk/BlynkConsole.h:20:10: fatal error: functional: No such file or directory

Blynk 1.0.0
Arduino IDE 1.8.15
Arduino Uno
Blynk Arduino_Ethernet example

what library is for <functional>?

In file included from /home/duro/Documents/Arduino/libraries/Blynk/src/Blynk/BlynkApi.h:38:0,
                 from /home/duro/Documents/Arduino/libraries/Blynk/src/BlynkApiArduino.h:14,
                 from /home/duro/Documents/Arduino/libraries/Blynk/src/Adapters/BlynkEthernet.h:24,
                 from /home/duro/Documents/Arduino/libraries/Blynk/src/BlynkSimpleEthernet.h:20,
                 from /home/duro/Documents/Arduino/libraries/Blynk/examples/Boards_Ethernet/Arduino_Ethernet/Arduino_Ethernet.ino:42:
/home/duro/Documents/Arduino/libraries/Blynk/src/Blynk/BlynkConsole.h:20:10: fatal error: functional: No such file or directory
 #include <functional>
          ^~~~~~~~~~~~
compilation terminated.
Using library SPI at version 1.0 in folder: /home/duro/arduino-1.8.15/hardware/arduino/avr/libraries/SPI 
Using library Ethernet at version 2.0.0 in folder: /home/duro/arduino-1.8.15/libraries/Ethernet 
Using library Blynk at version 1.0.0 in folder: /home/duro/Documents/Arduino/libraries/Blynk 
exit status 1
Error compiling for board Arduino Uno.
@vshymanskyy
Copy link
Collaborator

Thanks for reporting. This issue was fixed, available from master branch: https://github.com/blynkkk/blynk-library

@vshymanskyy vshymanskyy added bug Something isn't working ready to test labels May 31, 2021
@doom369
Copy link
Collaborator

doom369 commented Jun 10, 2021

@JAndrassy closing due to lack of the feedback.

@doom369 doom369 closed this as completed Jun 10, 2021
@JAndrassy
Copy link
Author

@JAndrassy closing due to lack of the feedback.

sorry, yes, it is alright

@JAndrassy
Copy link
Author

JAndrassy commented Jul 7, 2021

@vshymanskyy I saw that the fix was commenting out BLYNK_CONSOLE_USE_LAMBDAS. but now it is not commented out in master
EDIT: I see the header is now used only in examples for boards with 'functional'

@vshymanskyy
Copy link
Collaborator

vshymanskyy commented Jul 7, 2021 via email

@JAndrassy
Copy link
Author

yes, I see, but I would like to try OTA to Arduino Mega for example with WiFi101 shield and then I will have the error

@vshymanskyy
Copy link
Collaborator

vshymanskyy commented Jul 7, 2021 via email

@JAndrassy
Copy link
Author

We do not support OTA for Arduino Mega.

your MKR examples use my ArduinoOTA library and that supports classic ATmega with at lest 64kB flash and Optiboot from MegaCore, so the MKR1000 example would work for Mega with WiFi101 shield (Adafruit WINC1500 WiFi Shield)

@vshymanskyy
Copy link
Collaborator

vshymanskyy commented Jul 7, 2021 via email

@TejRajAdhikari97
Copy link

TejRajAdhikari97 commented Jul 10, 2021

I am using this library as mentioned above but showing BlynkSimpleStream.h: No such file or directory
What to do now
in another_ program no matching function for call to 'BlynkStream::begin(char [33], HardwareSerial&)'

help me to solve this. I am beginner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ready to test
Projects
None yet
Development

No branches or pull requests

4 participants