The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Dependents:   hello SerialTestv11 SerialTestv12 Sierpinski ... more

Issue: Library include error in Mbed Studio

Hi, I am using opencv (https://os.mbed.com/users/joeverbout/code/main/) this library and it has dependecy for mbed. While including mbed library in Mbed Studio I am getting below error. https://os.mbed.com/media/uploads/shitaljadhav/image.png

Can anyone help with this issue?

2 comments:

14 Apr 2020

Hi Shital,

It doesn't work because the library you are trying to import is a Mbed OS 2 library. Mbed Studio is designed to work with Mbed OS 5.12.0 or higher. We will work on improving the error message.

I recommend looking at this forum: https://forums.mbed.com/ There is a category for Mbed Studio with a lot of useful information.

Useful topic: https://forums.mbed.com/t/is-it-possible-to-use-mbed-v2-with-mbed-studio/7984/2

Thanks, Arek - Mbed Studio team

14 Apr 2020

Hi Arkadiusz, Thanks for your suggestion. Could you please suggest which the compatible library dependency for opencv (https://os.mbed.com/users/joeverbout/code/main/)? Currently I have included opencv and mbed-os 5.15.0 lib. But using these two libraries the project is not able to compile. and giving below errors. https://os.mbed.com/media/uploads/shitaljadhav/output_error.png Libraries included are : https://os.mbed.com/media/uploads/shitaljadhav/library.png

Kindly suggest some solution.