Totally unable to use Mbed Studio

Hello,

I’m trying to use Mbed Studio 1.3.0 with mbed-os 6.3.0 and a DISCO-L475VG-IOT01A (B-L475E-IOT01A) board. However, everytime I try to compile my program I get multiple various and hazardous errors.

The last in date :

Compile [ 35.4%]: mbed_trace.c

[Fatal Error] mbed_trace.c@30,10: 'mbed-client-libservice/ip6string.h' file not found

[ERROR] .\mbed-os\platform\mbed-trace\source\mbed_trace.c:30:10: fatal error: 'mbed-client-libservice/ip6string.h' file not found

#include "mbed-client-libservice/ip6string.h" 

Other errors include:

error warning l3912w option 'legacyalign' is deprecated
error l6218e undefined symbol during linking

What I have tried:

  • Uninstall and reinstall Mbed Studio
  • Delete and resync mbed-os library
  • Changing name of my program
  • Recreating my entire program

Nothing, I have no idea what to do to make Mbed Studio work. Do you have any ideas ? Thanks

Hi,

what is your mbed-os sha (version) ? I recall seeing this error due to misconfig with baremetal. It should be fixed in the Mbed OS master branch (I don’t think the fix has been released). This was it Make mbed-trace available to bare metal by LDong-Arm · Pull Request #13649 · ARMmbed/mbed-os · GitHub

What you should also include in the bug report, what version of tools you use, programs. All it can help us to reproduce the issue locally.

1 Like

Thank you for answering.

The mbed-os version I’m using is : 0db72d0cf26539016efbe38f80d6f2cb7a3d4414

And as for the tools:

Tool Name Version Status
ARM Compiler 6.14 up to date
Clangd 10.0.0 up to date
Example projects 1.8.0 up to date
GDB client 6-2017-q2-update up to date
Git 2.21.0 up to date
Mbed Library Cache 1.8.0 up to date
Python tools 0.5.3 up to date
Debug Packs 1.0.7 up to date