Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

clangd plug-in can not find clangd

(1/3) > >>

killerbot:
Today build CB on a TumbleWeed distribution, all went fine.
It also contains clang (and clangd) in /usr/bin ,adn it is version 17.0.6.
Compiler detected by CB, the plug-in kind of detected clangd, the path in the settings is correctly specified. However the plug-in keep saying :
clangd_client plugin could not auto detect a clangd installation. PLease enter the location of clangd using ....

Aka the settings tab, where the correct path is present, but to no advantage it seems.

Suggestions ?

Pecan:

--- Quote from: killerbot on January 29, 2024, 05:26:45 pm ---Today build CB on a TumbleWeed distribution, all went fine.
It also contains clang (and clangd) in /usr/bin ,adn it is version 17.0.6.
Compiler detected by CB, the plug-in kind of detected clangd, the path in the settings is correctly specified. However the plug-in keep saying :
clangd_client plugin could not auto detect a clangd installation. PLease enter the location of clangd using ....

Aka the settings tab, where the correct path is present, but to no advantage it seems.

Suggestions ?

--- End quote ---
This is caused by the clangd_plugin not finding the clangd resources not the executable (most likely).
They keep changing how they name the resources and we keep fixing it.

Let me see if I can find a the right question to ask to find the resources.

Pecan:

--- Quote from: killerbot on January 29, 2024, 05:26:45 pm ---Today build CB on a TumbleWeed distribution, all went fine.
It also contains clang (and clangd) in /usr/bin ,adn it is version 17.0.6.
Compiler detected by CB, the plug-in kind of detected clangd, the path in the settings is correctly specified. However the plug-in keep saying :
clangd_client plugin could not auto detect a clangd installation. PLease enter the location of clangd using ....

Aka the settings tab, where the correct path is present, but to no advantage it seems.

Suggestions ?

--- End quote ---
On that system, please show the output clangd --version
Then cd to /lib/clang and show all the folder names .
We want to know how they named the clang resources.

For example:

--- Code: --- F:\usr\programs\msys64_13.0.1\mingw64\bin\clangd.exe --version
clangd version 16.0.5
Features: windows
Platform: x86_64-w64-windows-gnu

S F:\usr\programs\msys64_13.0.1\mingw64> cd lib
PS F:\usr\programs\msys64_13.0.1\mingw64\lib> cd clang
PS F:\usr\programs\msys64_13.0.1\mingw64\lib\clang> ls


    Directory: F:\usr\programs\msys64_13.0.1\mingw64\lib\clang


Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d-----         6/29/2023  11:28 AM                16

--- End code ---

Note that in my case the clangd version and it's resource do not match. We have to compensate for that.

On Linux Mint it's different:

--- Code: ---pecan@LinuxMint:/usr/bin$ clangd --version
Ubuntu clangd version 14.0.0-1ubuntu1.1
Features: linux+grpc
Platform: x86_64-pc-linux-gnu
pecan@LinuxMint:/usr/bin$ cd /lib/clang
pecan@LinuxMint:/lib/clang$ ls
14  14.0.0
pecan@LinuxMint:/lib/clang$

--- End code ---

Pecan:
I've just spent 45 minutes trying to download TumbleWeed Liinux. It seems to be dead and suggesting to use Leap instead.

Am I barking up the wrong tree?
Do we want to spend hours/days supporting a dead distribution?

Does anyone know how I can download an ISO to load into VMware?

Grit Clef:
Where I live, I can download Tumbleweed via https://mirrors.ustc.edu.cn/opensuse/tumbleweed/iso/.
But I don't know whether you can access it.

Navigation

[0] Message Index

[#] Next page

Go to full version