-
Notifications
You must be signed in to change notification settings - Fork 449
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
Selecting Clang as the kit compiles with /usr/bin/c++ (g++) #1233
Comments
For some reason the extension is not finding your clang++ compiler. |
CMake Tools log
|
I had the same issue as well. Currently working around the issue by manually changing the clang 10 entry in {
"name": "Clang 10.0.1",
"compilers": {
"C": "/usr/local/bin/clang-10",
"CXX": "/usr/local/bin/clang++" // Changed to path where clang++ is located
}
} What's odd is that I only just started having this issue with clang-10 being selected as a kit. |
@caradhras2 do you still have an issue if you change the "C++" property under "compilers" to "CXX" in your Kit? |
@Eric-Brown thank You. |
Brief Issue Summary
I noticed that the binary
c++
was being used for compilation with the clang kit as opposed toclang++
on Linux. Investigating this, I found that "scan for kits" populates an entry for clang with an empty CXX variable.cmake-tools-kits.json
is populated as follows:which clang++
reports/usr/bin/clang++
on my system.Expected:
/usr/bin/clang++
(or whatever is correct)clang++
Apparent Behavior:
/usr/bin/c++
Platform and Versions
The text was updated successfully, but these errors were encountered: