-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libstdc++ version must be at least 5.1. #1122
Comments
Hi, do you have a recent libstdc++ version installed? Cmake complains that it cannot link the the C++ standard library:
Perhaps you are missing a package like |
Hi, I tried looking with sudo apt-get install libstdc++-dev E: El paquete «libstdc++-dev» no tiene un candidato para la instalación I specificed the version #6 and the most recent one, 11th, and, I got this, sudo apt-get install libstdc++-11-dev By re-trying the command again I get, sudo bash install-llvm.sh -- Configuring incomplete, errors occurred! |
Can you find |
Is this the |
Hi guys,
I'm installing LLVM previous to HipSYCL package to run it on a AMD RX 6600 XT RDNA 2 GPU, I'm getting this error message from the terminal,
CMake Error at cmake/modules/CheckCompilerVersion.cmake:97 (message):
libstdc++ version must be at least 5.1.
Call Stack (most recent call first):
cmake/config-ix.cmake:13 (include)
CMakeLists.txt:655 (include)
When running
g++ --version
g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Also, I've
clang++ --version
Ubuntu clang version 14.0.0-1ubuntu1.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
From the CMakeError file,
The output was:
1
/usr/bin/ld: no se puede encontrar -lstdc++: No existe el archivo o el directorio
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Checking whether the ASM compiler is GNU using "--version" did not match "(GNU assembler)|(GCC)|(Free Software Foundation)":
Ubuntu clang version 14.0.0-1ubuntu1.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Detecting CXX compiler ABI info failed to compile with the following output:
Change Dir: /root/git/llvm-vanilla/build/CMakeFiles/CMakeTmp
Appreciate your help on this one, thank you,
The text was updated successfully, but these errors were encountered: