compilation problem for arduino pro mini.

Hi, I made a sketch for my arduino pro mini. It compiles without problems for mounths but now I get :

In file included from C:\Users\peter\Documents\Arduino\mqtt\drukknopnode\drukknopnode.ino:31:0:

C:\Users\peter\Documents\Arduino\libraries\Ticker/Ticker.h:25:10: fatal error: functional: No such file or directory

#include

^~~~~~~~~~~~

compilation terminated.

I did not change my original sketch. I reinstall already my Arduino ide with no help.

Please advise what to do !
Thanks.

Do you think it might help if you posted your program ?

 #include <functional>

What is this line of code intended to do ?
Do you have a file named functional on your PC and if so, where is it located ?

It appears that for some reason you installed the Ticker library that is normally bundled with the ESP8266 core for Arduino. That library is written specifically for ESP8266, and won't work with your Pro Mini. There is no good reason to have it installed separately from the ESP8266 core.

Perhaps your sketch was written to work with this other library named Ticker:

Well, the include is in the library ticker which I downloaded from the arduino library in the IDE.
I didn't make that library myself.

Thanks, I changed form esp8266 to arduino pro mini and didn't know that ticker was only for the esp.

Problem solved.

You're welcome. I'm glad if I was able to be of assistance. Enjoy!
Per