Error starting C/C++ language server. Please make sure 'clangd' is installed on your system. You can refer to the clangd page for instructions

Good morning everybody,

I installed Mbed studio which gives me an error message every time I launch it: "Error starting C/C++ language server. Please make sure ‘clangd’ is installed on your system. You can refer to the clangd page for instructions.. "

However, I downloaded an LLVM folder including clangd in a bin folder. I tried to save this folder in the same path as Mbed Studio and include it in the system environment variables.

I am on Windows 10, when I open a windows terminal and search for “clangd --version” I receive “clangd version 20.1.7”, but the Mbedstudio terminal does not recognize my version of clangd, but displays “Clangd 12.0.2 up to date” when I go in “Help” → “Check for tool update”

Could someone tell me the procedure to follow so that MbedStudio recognizes my version of clangd?

Thank you very much for your time

Hello,

as I remember Mbed Studio uses its own instance of all tools so your installation of any tools will be ignored. You should reinstall Mbed Studio in sequence

  1. Uninstall Mbed Studio
  2. Delete those folders in case that they are still there: C:\Program Files\Mbed Studio, C:\ProgramData\Mbed Studio, ~\AppData\Local\Programs\Mbed Studio, ~\AppData\Local\Mbed Studio.
  3. Restart PC
  4. Install Mbed Studio again

BR, Jan