5 years, 7 months ago.

I faced a problem using rtos

I get the following error using rtos.

Error: Cannot open source input file "platform/Callback.h": No such file or directory in "mbed-rtos/rtos/Thread.h", Line: 27, Col: 32

I revert the mbed.h version older but it is not fixed. I need this solution, if you have it please tell me.

1 Answer

5 years, 7 months ago.

are you using SW4STM32 with eclipse or using online compiler ? make sure you have been include "mbed.h" and "rtos.h" if you are using SW4STM32 with eclipse, make sure you have been include all folder of your project. Try to use mbed-os library instead of mbed

i hove it will help you

Accepted Answer

Thank you very much for your reply. I solved this problem, I use dht11 library which include a part of mbed library.(platform) I remove it and this error has not happened.

posted by Akira Kashihara 04 Apr 2017

You are welcome Oh glad to hear that

posted by Rendy Devara 04 Apr 2017