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
Issue while compiling: "/usr/bin/cc - broken" #4440
Comments
Are you sure you did the export correctly? Your output says
Which is wrong. libc++ is standard library for Maybe it's possible you don't have clang installed? Make sure you have |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I followed the INSTALL.md instructions for Linux (export CC=clang and export CXX=clang++, and the cmake instructions).
But it keeps giving me this error and I wasn't able to fix it :c
I need some help
-- The C compiler identification is GNU 13.2.1
-- The CXX compiler identification is GNU 13.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc - broken
CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:67 (message):
The C compiler
is not able to compile a simple test program.
It fails with the following output:
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:23 (project)
-- Configuring incomplete, errors occurred!
I'm using Manjaro Linux
The text was updated successfully, but these errors were encountered: