I just cant add cl to path

83 Views Asked by At

I will be brief with the problem I am facing, I am a new c++ learner and I opted to work with Vs Code and Msvc. I successfully managed to get vs code. then I installed visual studio 2022. I realised there is still no cl in the path. so Installed build tools next:- enter image description here

the problem still exists, I just cant make cl to the path, even vcvars.bat or vcvars64 or any version of vcvars doesn't work, adding bin folders to the path doesn't work aswell. can someone guide me how I can successfully install the compiler?

Edit-1: running build task in vscode gives enter image description here

0

There are 0 best solutions below