Hi,
I included “mbed.h” in to the main file. after that i got a compiler error.
[Fatal Error] Kernel.h@27,10: ‘chrono’ file not found
i see people suggested include stdlib.h, but it doesn’t help.
what can i do here to solve this issue?
Regards
Hi,
I included “mbed.h” in to the main file. after that i got a compiler error.
[Fatal Error] Kernel.h@27,10: ‘chrono’ file not found
i see people suggested include stdlib.h, but it doesn’t help.
what can i do here to solve this issue?
Regards
Hello Tracy,
Most likely the ThisThread::sleep_for
function (or similar C++ function using chrono
) is called in one or more “C” type files of the project. Try to convert the related “C” file to “C++” by changing the extension from *.c
to *.cpp
, if possible.