0

Hi everyone I seem to have run into a problem while uploading a library to the board. I managed to import the library to Arduino Uno, however, i could not upload it

Please Help :)

Thanks in Advance

This is the error i received:

Arduino: 1.6.11 Hourly Build 2016年08月05日 02:12 (Mac OS X), Board: "Arduino/Genuino Uno"
In file included from /Users/pendukenipandeni/Documents/Arduino/SimpleTimer/SimpleTimer.ino:1:0:
/Users/pendukenipandeni/Documents/Arduino/libraries/SimpleTimer-master/SimpleTimer.h:37:22: fatal error: functional: No such file or directory
 #include <functional>
 ^
compilation terminated.
exit status 1
Error compiling for board Arduino/Genuino Uno.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Majenko
106k5 gold badges81 silver badges139 bronze badges
asked Aug 16, 2016 at 18:53
5
  • Where did you get that library? Commented Aug 16, 2016 at 18:55
  • I got the library from gitHub : github.com/schinken/SimpleTimer Commented Aug 16, 2016 at 18:56
  • Looks like that uses std::function which is not in the normal Arduino compiler (by the looks of things) - or not in the version I have anyway. Maybe you need a specific installation for it to work. Simplest option is to pick one of the many other implementations of SimpleTimer out there. Commented Aug 16, 2016 at 19:00
  • Thank you Majenko, i picked another Simple Timer and it works now Commented Aug 16, 2016 at 19:41
  • please help, #include <IRremote.h> ^ compilation terminated. exit status 1 Error compiling for board Arduino/Genuino Uno. Commented May 29, 2018 at 15:20

1 Answer 1

2

I managed to fix this by simply downloading and uploading a different SimpleTimer Library from https://github.com/jfturcot/SimpleTimer

answered Aug 16, 2016 at 19:45

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.