OiO.lk Blog C# VSCode on wsl2 cant find gcc/g++
C#

VSCode on wsl2 cant find gcc/g++


I try to run a .c with vscode on a wsl environment. I have both gcc and g++ installed. I verified that on a vscode terminal as explained in the guide. Í also have all the necessary extensions installed.

My problem: Step 3, choosing a compiler for the project fails – vscode can’t find the compiler. How do I configure vscode to use my compiler?

Bellow is a screenshot of the vscode. No errors appear. The menu only contain one option, nothing about gcc as in the guide.



You need to sign in to view this answers

Exit mobile version