Skip to content

Building on Ubuntu 22.04 g++-11 #1483

Open
@icojb25

Description

Has anyone been able to build this on Ubuntu 22.04 with either g++11 or clang++14?
I have followed the build instructions pretty closely (exactly) as far as I can tell and I still cant get a working compilation.

With clang:

  • complains about ld unable to find stdc++
  • Linking CXX executable cmTC_00879
    /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_00879.dir/link.txt --verbose=1
    /usr/bin/clang++ CMakeFiles/cmTC_00879.dir/testCXXCompiler.cxx.o -o cmTC_00879
    /usr/bin/ld: cannot find -lstdc++: No such file or directory

With g++:

  • complains about missing "/usr/lib/llvm-14/lib/libclangBasic.a" even when I specify _DCMAKE_CXX_COMPILER=g++=11
  • on a stock standing install of build-essential etc

Are the instructions up to date?
Thanks in advance.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions