CLang++ not available as a build task. #11836
Unanswered
TheShanachie
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm quite a novice in all areas of C/C++.
I'm running Windows 11 off of a Razer Blade 15.
I currently cannot utilize CLang++ via the VSCode GUI options. I have both Clang++ and G++ installed and usable. As an example, I can run commands as such with no errors.
PS C:...\GitHub\CPP_Reference\Examples> clang++ HelloWorld.cpp -o HelloWorld.exe
PS C:...\GitHub\CPP_Reference\Examples> ./HelloWorld.exe
Hello World!
or
PS C:...\GitHub\CPP_Reference\Examples> g++ HelloWorld.cpp -o HelloWorld.exe
PS C:...\GitHub\CPP_Reference\Examples> ./HelloWorld.exe
Hello World!
I have not been able to use both compilers interchangeably through the VSCode GUI. So far, the IntelliSense Configuration UI menu seemingly detects that I have clang installed, which is my only confirmation that the compiler is detected...

Although If I am to select a build task, Clang/Clang++ is not available, as shown below.

Why is this? Is my understanding of VSCode lacking? I would like to incorporate CLang into my development process as it has been helpful on past projects.
Beta Was this translation helpful? Give feedback.
All reactions