Menu

#1387 ProcessLanguageClient() Could not find clangd installation. clangd Resource dir not found.

Undefined
fixed
nobody
Undefined
2023-09-16
2023-03-17
I 473 17
No

Hello,
Using Fedora 37, SVN build 13327, tried with ~1323x too I think.
clang-devel is installed, output of clangd --version is following,

clangd version 15.0.7 (Fedora 15.0.7-1.fc37)
Features: linux
Platform: x86_64-unknown-linux-gnu; target=x86_64-redhat-linux-gnu

I see this error (title) in Code::Blocks tab of Logs & others, and get a popup every time I open CB saying clangd_client could not auto detect and I should do it in Editor settings, but it can be auto detected in settings and is set to /usr/bin/clangd.

Did try; disabling code completion plugin, restart, enable clangd_client, restart, make sure the path is set, restart. Just noticed this new feature and wanted to try it, but noticed this issue.

Thank you! :)

3 Attachments

Discussion

  • I 473 17

    I 473 17 - 2023-03-17

    Build 13237, I am sorry, and I tried in the build around ~100 commit before.

    Not super experienced but I think this may be the resource directory, /usr/lib64/clang/15/. There are three directories with name, include, lib and share.

     

    Last edit: I 473 17 2023-03-17
  • I 473 17

    I 473 17 - 2023-03-21

    Looked at the changes in commit 13241, created a symbolic link to the previously mentioned /usr/lib64/clang in /usr/lib/ for a workaround, works.

     
  • pecan

    pecan - 2023-09-16

    I believe this was fixed by svn r13241. Working with another Fedora user, and modifying the Clangd_client Locate_ClangdDir() function appears to have fixed the problem.
    On Fedora, Clangd's resource directory name did not follow the other Linux pattern. We fixed that.

    I'm going to close this. But if the problem re-appears, just post an addition to this ticket. I'll see it.

     
  • pecan

    pecan - 2023-09-16
    • status: open --> fixed
     
    ❤️
    1

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.