Open Mrlaolu opened 1 week ago
I think you need to compile C++ files with clang++
, not clang
.
clang++
also didn't work/(ㄒoㄒ)/~~
I am unable to reproduce that one, even after un-installing and re-installing llvm-18. Given your other issue, I suspect something went with the downloading and installing of llvm-18, but I'm not sure what. Did you have any error messages when unpacking?
I remove llvm and reinstall llvm-18 ,and it works. Thank you very much
Oh, I see. It was an issue if both llvm
and llvm-18
are installed together. I'll keep it in mind if someone has the same issue.
I can complie a C program.But when I complie a simple C++ program like
It show How can i solve it