Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 1 month ago.
Error: Cannot open source input file "platform/mbed_error.h"
in the rtos library downloaded using the import wizard I get the following error Error: Cannot open source input file "platform/mbed_error.h": No such file or directory in "mbed-rtos/rtos/Mutex.cpp", Line: 25, Col: 34
Any help will be greatly appreciated
2 Answers
7 years, 1 month ago.
If you're going to use mbed RTOS, we recommend using the new mbed library - mbed OS, which combines the features of the traditional mbed library with mbed RTOS. Please see all documentation here - https://os.mbed.com/docs/v5.6.
Thank you for the reply
Currently I am still experementig with other examples thus do not know wat to change unfortunately
posted by 12 Oct 2017Here is a good jumping off point to get you started using Mbed OS - https://os.mbed.com/docs/v5.6/tutorials/blinky-on-the-arm-mbed-online-compiler.html.
posted by 12 Oct 20177 years, 1 month ago.
Hello Movation,
Because the "platform/mbed_error.h" file is located in the "mbed-dev" library try to import it into your project. Then, in order to keep only one of them, remove the "mbed" library from the project.