Skip to content

Ubuntu 22.04 cannot find standard libraries #6

Description

@Briancbn

It seems that for Ubuntu 22.04, there is a chance that some of the standard libraries cannot be resolved properly.
It is due to some issue with clangd. Although the default g++ is looking for g++-11 libraries, clangd looks for the g++-12 libraries.

To resolve, simply run

sudo apt install g++-12

More info can be found clangd/clangd#1394.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions