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

clangd plug-in can not find clangd

<< < (2/3) > >>

Commaster:
I hope you are picking the right Tumbleweed...
https://get.opensuse.org/tumbleweed/

Leap is a normal distribution, assembled annually and has version numbers.
Tumbleweed is like gentoo, there's a new iso almost daily and the packages are updated forever.

Pecan:

--- Quote from: Commaster on January 30, 2024, 04:39:48 am ---I hope you are picking the right Tumbleweed...
https://get.opensuse.org/tumbleweed/

Leap is a normal distribution, assembled annually and has version numbers.
Tumbleweed is like gentoo, there's a new iso almost daily and the packages are updated forever.

--- End quote ---

Thanks, I don't know why this page didn't show up in my Google search.

killerbot:
clangd --version
clangd version 17.0.6
Features: linux
Platform: x86_64-suse-linux


which clang
/usr/bin/clang


which clangd
/usr/bin/clangd


cd /usr/lib64/clang/
ls
17



lib64 versus lib ?

Pecan:

--- Quote from: killerbot on January 30, 2024, 12:14:15 pm ---clangd --version
clangd version 17.0.6
Features: linux
Platform: x86_64-suse-linux


which clang
/usr/bin/clang


which clangd
/usr/bin/clangd


cd /usr/lib64/clang/
ls
17



lib64 versus lib ?

--- End quote ---

Yep ! How are we suppose to guess what the lib name is ?

Is this just one of those cased that we keep adding names to check until no user complains?

Is there a way in Linux other than just keeping an array of lib names ?

Edit:
Oh, I know what to do, display an enumeration of /lib* and let the user choose, else if only one, choose it by default.

killerbot:
can't you just try to find it in both, I would suggest starting with lib64, and if not found lib ?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version