Today build CB on a TumbleWeed distribution, all went fine.This is caused by the clangd_plugin not finding the clangd resources not the executable (most likely).
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 ?
Today build CB on a TumbleWeed distribution, all went fine.On that system, please show the output clangd --version
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 ?
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
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$
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.
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 ?
can't you just try to find it in both, I would suggest starting with lib64, and if not found lib ?
the pop-up boxes are gone. and the cc is working.
This can be seen in the cb log panel (bad or good ?)
FindClangResourceDirs: Error opening directory /usr/lib64/mysql/plugin/auth_pam_tool_dir
FindClangResourceDirs: Error opening directory /usr/etc/X11/xdm/authdir
FindClangResourceDirs: Error opening directory /usr/etc/skel/.cache
FindClangResourceDirs: Error opening directory /usr/etc/skel/.config
FindClangResourceDirs: Error opening directory /usr/etc/skel/.local
FindClangResourceDirs: Error opening directory /usr/etc/keys
FindClangResourceDirs: Error opening directory /usr/etc/sudoers.d
FindClangResourceDirs: Error opening directory /usr/libexec/ppp